Package science.aist.gtf.template
Enum TemplateTaskTypeEnum
- java.lang.Object
-
- java.lang.Enum<TemplateTaskTypeEnum>
-
- science.aist.gtf.template.TemplateTaskTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplateTaskTypeEnum>
public enum TemplateTaskTypeEnum extends Enum<TemplateTaskTypeEnum>
The different template tasks
- Since:
- 1.0
- Author:
- Andreas Schuler
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateTaskTypeEnum
fromString(String value)
String
toString()
static TemplateTaskTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplateTaskTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MKDIR
public static final TemplateTaskTypeEnum MKDIR
-
COPY
public static final TemplateTaskTypeEnum COPY
-
COPYDIR
public static final TemplateTaskTypeEnum COPYDIR
-
TEMPLATE
public static final TemplateTaskTypeEnum TEMPLATE
-
GRAPHVIZ
public static final TemplateTaskTypeEnum GRAPHVIZ
-
DELETE
public static final TemplateTaskTypeEnum DELETE
-
UNZIP
public static final TemplateTaskTypeEnum UNZIP
-
SHELL
public static final TemplateTaskTypeEnum SHELL
-
EXTENSION
public static final TemplateTaskTypeEnum EXTENSION
-
-
Method Detail
-
values
public static TemplateTaskTypeEnum[] 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 (TemplateTaskTypeEnum c : TemplateTaskTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateTaskTypeEnum 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
-
fromString
public static TemplateTaskTypeEnum fromString(String value)
-
toString
public String toString()
- Overrides:
toString
in classEnum<TemplateTaskTypeEnum>
-
-