@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(@NotNull VariableDefinition input) |
@Nullable Long |
getDeploymentVersionId() |
@Nullable Long |
getEnvironmentId() |
@NotNull String |
getKey()
Variable key as defined in UI
|
Plan |
getPlan() |
@Nullable Long |
getProjectId() |
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(@Nullable Long deploymentVersionId) |
void |
setEnvironmentId(@Nullable Long environmentId) |
void |
setKey(String key) |
void |
setPlan(Plan plan) |
void |
setProjectId(Long projectId) |
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 @NotNull VariableDefinition input)
@NotNull public @NotNull 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 VariableDefinitionPlan or null if not of VariableType.PLAN typepublic void setPlan(Plan plan)
setPlan in interface VariableDefinition@Nullable public @Nullable Long getEnvironmentId()
getEnvironmentId in interface VariableDefinitionVariableType.ENVIRONMENT typepublic void setEnvironmentId(@Nullable
@Nullable Long environmentId)
setEnvironmentId in interface VariableDefinition@Nullable public @Nullable Long getDeploymentVersionId()
getDeploymentVersionId in interface VariableDefinitionVariableType.VERSION typepublic void setDeploymentVersionId(@Nullable
@Nullable Long deploymentVersionId)
setDeploymentVersionId in interface VariableDefinition@Nullable public @Nullable Long getProjectId()
getProjectId in interface VariableDefinitionProject or null if not of VariableType.PROJECT typepublic void setProjectId(Long projectId)
setProjectId in interface VariableDefinitionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.