Package gov.nih.mipav.view
Enum Argument.InstanceArgument
- All Implemented Interfaces:
Argument,Serializable,Comparable<Argument.InstanceArgument>,java.lang.constant.Constable
- Enclosing interface:
Argument
public static enum Argument.InstanceArgument
extends Enum<Argument.InstanceArgument>
implements Argument
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface gov.nih.mipav.view.Argument
Argument.InstanceArgument, Argument.StaticArgument -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateInstanceArgument(String command, String help, String... altCommand) -
Method Summary
Modifier and TypeMethodDescriptionPrints usage info for specific commandReturns command in lower-case form.static Argument.InstanceArgumentgetArgument(String str, boolean quiet) static Argument.InstanceArgumentgetCommand(String str) getHelp()Returns help for using command.toString()static Argument.InstanceArgumentReturns the enum constant of this type with the specified name.static Argument.InstanceArgument[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Image
-
MultiImage
-
RawImage
-
Hide
-
Script
-
Voi
-
SavedImageName
-
ScriptVariable
-
Plugin
-
-
Field Details
-
help
Help for using a command. -
command
The case-independent form of the command -
altCommand
Alternate commands for a given action
-
-
Constructor Details
-
InstanceArgument
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getHelp
Description copied from interface:ArgumentReturns help for using command. -
getArgument
Description copied from interface:ArgumentReturns command in lower-case form.- Specified by:
getArgumentin interfaceArgument
-
toString
- Overrides:
toStringin classEnum<Argument.InstanceArgument>
-
generateCmdUsageInfo
Description copied from interface:ArgumentPrints usage info for specific command- Specified by:
generateCmdUsageInfoin interfaceArgument
-
getCommand
-
getArgument
-