Class Variable
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<VariableProperties>
com.atlassian.bamboo.specs.api.builders.Variable
Represents a Bamboo variable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected VariableProperties
build()
Indicates that variable is automatically updated by build or deployment process.Sets variable name.Sets variable value.
-
Constructor Details
-
Variable
Specifies a variable with given name and value.- Parameters:
name
- name of the variablevalue
- value of the variable
-
-
Method Details
-
name
Sets variable name.Variables with names containing words like 'password', 'secret', 'passphrase' are considered 'secret' and are encrypted when stored by Bamboo.
-
value
Sets variable value.In case of 'secret' variables, both encrypted and unencrypted forms are valid.
- See Also:
-
createOnly
Indicates that variable is automatically updated by build or deployment process. In such a case, the variable is created and it's value set only if it doesn't already exist.- Since:
- 6.10
-
build
- Specified by:
build
in classEntityPropertiesBuilder<VariableProperties>
-