Package com.atlassian.bamboo.variable
Enum Class VariableType
- All Implemented Interfaces:
Serializable
,Comparable<VariableType>
,Constable
Type of Bamboo variable.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAutomatically defined variableVariable for Deployment EnvironmentGlobal variableDeprecated.job variables are not supportedManually defined variablePlan variableVariable defined forProject
Variable defined at build runtime, i.e.System (environment) variableVariable for Deployment Version -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 7.0 useisSameType()
static VariableType
Returns the enum constant of this class with the specified name.static VariableType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GLOBAL
Global variable -
PLAN
Plan variable -
JOB
Deprecated.job variables are not supportedJob variable: not supported, value not removed so that int values of this enum are the same. -
MANUAL
Manually defined variable -
CUSTOM
Automatically defined variable -
SYSTEM
System (environment) variable -
UNKNOWN
-
ENVIRONMENT
Variable for Deployment Environment -
VERSION
Variable for Deployment Version -
RESULT
Variable defined at build runtime, i.e. injected by a task.- Since:
- 5.7
-
PROJECT
Variable defined forProject
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isTypeEqual
Deprecated.since 7.0 useisSameType()
-
isSameType
-