Enum CommandLineProcessor.RequestType
- java.lang.Object
-
- java.lang.Enum<CommandLineProcessor.RequestType>
-
- org.pentaho.platform.plugin.services.importexport.CommandLineProcessor.RequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<CommandLineProcessor.RequestType>
- Enclosing class:
- CommandLineProcessor
public static enum CommandLineProcessor.RequestType extends Enum<CommandLineProcessor.RequestType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandLineProcessor.RequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommandLineProcessor.RequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HELP
public static final CommandLineProcessor.RequestType HELP
-
IMPORT
public static final CommandLineProcessor.RequestType IMPORT
-
EXPORT
public static final CommandLineProcessor.RequestType EXPORT
-
REST
public static final CommandLineProcessor.RequestType REST
-
BACKUP
public static final CommandLineProcessor.RequestType BACKUP
-
RESTORE
public static final CommandLineProcessor.RequestType RESTORE
-
-
Method Detail
-
values
public static CommandLineProcessor.RequestType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommandLineProcessor.RequestType c : CommandLineProcessor.RequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandLineProcessor.RequestType valueOf(String name)
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
-
-