@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, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
public 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()
VariableDefinitionContext
getKey
in interface VariableDefinitionContext
getKey
in interface VariableDefinitionIdentifier
public void setKey(String key)
setKey
in interface VariableDefinitionContext
public String getValue()
VariableDefinitionContext
getValue
in interface VariableDefinitionContext
getValue
in interface VariableDefinitionIdentifier
public void setValue(String value)
setValue
in interface VariableDefinitionContext
public VariableType getVariableType()
VariableDefinitionContext
VariableType
shows the source of variable value as it was evaluated before build executiongetVariableType
in interface VariableDefinitionContext
getVariableType
in interface VariableDefinitionIdentifier
public void setVariableType(VariableType variableType)
setVariableType
in interface VariableDefinitionContext
public Plan getPlan()
getPlan
in interface VariableDefinition
public void setPlan(Plan plan)
setPlan
in interface VariableDefinition
@Nullable public Long getEnvironmentId()
getEnvironmentId
in interface VariableDefinition
VariableType.ENVIRONMENT
typepublic void setEnvironmentId(@Nullable Long environmentId)
setEnvironmentId
in interface VariableDefinition
@Nullable public Long getDeploymentVersionId()
getDeploymentVersionId
in interface VariableDefinition
VariableType.VERSION
typepublic void setDeploymentVersionId(@Nullable Long deploymentVersionId)
setDeploymentVersionId
in interface VariableDefinition
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.