Package com.atlassian.bamboo.task
Enum TaskCategory
- java.lang.Object
-
- java.lang.Enum<TaskCategory>
-
- com.atlassian.bamboo.task.TaskCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskCategory>
@PublicApi public enum TaskCategory extends Enum<TaskCategory>
Categories forTaskType
s- Since:
- 3.1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILDER
DEPLOYMENT
FLOW_CONTROL
REPOSITORY
SYSTEM_MANAGEMENT
TEST
VARIABLES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
String
getLabel()
static TaskCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILDER
public static final TaskCategory BUILDER
- Since:
- 3.1
-
TEST
public static final TaskCategory TEST
- Since:
- 3.1
-
DEPLOYMENT
public static final TaskCategory DEPLOYMENT
- Since:
- 3.1
-
REPOSITORY
public static final TaskCategory REPOSITORY
- Since:
- 3.3
-
SYSTEM_MANAGEMENT
public static final TaskCategory SYSTEM_MANAGEMENT
- Since:
- 5.10
-
VARIABLES
public static final TaskCategory VARIABLES
- Since:
- 5.7
-
FLOW_CONTROL
public static final TaskCategory FLOW_CONTROL
- Since:
- 5.10
-
-
Method Detail
-
values
public static TaskCategory[] 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 (TaskCategory c : TaskCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskCategory 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
-
getKey
public String getKey()
-
getLabel
public String getLabel()
-
-