@Entity public class VariableDefinitionImpl extends BambooEntityObject implements VariableDefinition
| Modifier and Type | Field and Description |
|---|---|
static long |
KEY_MAX_LENGTH |
static long |
VALUE_MAX_LENGTH |
ORDERING| Constructor and Description |
|---|
VariableDefinitionImpl() |
VariableDefinitionImpl(String key,
String value,
Plan plan,
VariableType variableType) |
VariableDefinitionImpl(VariableDefinition other) |
| Modifier and Type | Method and Description |
|---|---|
static VariableDefinition |
clone(VariableDefinition input) |
Long |
getDeploymentVersionId() |
Long |
getEnvironmentId() |
String |
getKey()
Variable key as defined in UI
|
Plan |
getPlan() |
String |
getValue()
Variable value as set in UI
|
VariableType |
getVariableType()
VariableType shows the source of variable value as it was evaluated before build execution |
void |
setDeploymentVersionId(Long deploymentVersionId) |
void |
setEnvironmentId(Long environmentId) |
void |
setKey(String key) |
void |
setPlan(Plan plan) |
void |
setValue(String value) |
void |
setVariableType(VariableType variableType) |
String |
toString() |
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, wait, wait, waitsetIdgetIdpublic static final long KEY_MAX_LENGTH
public static final long VALUE_MAX_LENGTH
public VariableDefinitionImpl()
public VariableDefinitionImpl(String key, String value, Plan plan, VariableType variableType)
public VariableDefinitionImpl(VariableDefinition other)
public static VariableDefinition clone(@NotNull VariableDefinition input)
@NotNull public String getKey()
VariableDefinitionContextgetKey in interface VariableDefinitionContextgetKey in interface VariableDefinitionIdentifierpublic void setKey(String key)
setKey in interface VariableDefinitionContextpublic String getValue()
VariableDefinitionContextgetValue in interface VariableDefinitionContextgetValue in interface VariableDefinitionIdentifierpublic void setValue(String value)
setValue in interface VariableDefinitionContextpublic VariableType getVariableType()
VariableDefinitionContextVariableType shows the source of variable value as it was evaluated before build executiongetVariableType in interface VariableDefinitionContextgetVariableType in interface VariableDefinitionIdentifierpublic void setVariableType(VariableType variableType)
setVariableType in interface VariableDefinitionContextpublic Plan getPlan()
getPlan in interface VariableDefinitionpublic void setPlan(Plan plan)
setPlan in interface VariableDefinition@Nullable public Long getEnvironmentId()
getEnvironmentId in interface VariableDefinitionVariableType.ENVIRONMENT typepublic void setEnvironmentId(@Nullable
Long environmentId)
setEnvironmentId in interface VariableDefinition@Nullable public Long getDeploymentVersionId()
getDeploymentVersionId in interface VariableDefinitionVariableType.VERSION typepublic void setDeploymentVersionId(@Nullable
Long deploymentVersionId)
setDeploymentVersionId in interface VariableDefinitionCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.