public class Variable extends EntityPropertiesBuilder<VariableProperties>
Constructor and Description |
---|
Variable(@NotNull String name,
@NotNull String value)
Specifies a variable with given name and value.
|
Modifier and Type | Method and Description |
---|---|
protected VariableProperties |
build() |
Variable |
createOnly()
Indicates that variable is automatically updated by build or deployment process.
|
Variable |
name(@NotNull String name)
Sets variable name.
|
Variable |
value(@NotNull String value)
Sets variable value.
|
public Variable name(@NotNull @NotNull String name)
Variables with names containing words like 'password', 'secret', 'passphrase' are considered 'secret' and are encrypted when stored by Bamboo.
public Variable value(@NotNull @NotNull String value)
In case of 'secret' variables, both encrypted and unencrypted forms are valid.
public Variable createOnly()
protected VariableProperties build()
build
in class EntityPropertiesBuilder<VariableProperties>
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.