Package com.atlassian.bamboo.variable
Class VariableSubstitutionImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.variable.VariableSubstitutionImpl
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,VariableDefinitionIdentifier
,VariableSubstitution
,VariableSubstitutionContext
,Serializable
,Cloneable
@Entity
public class VariableSubstitutionImpl
extends BambooEntityObject
implements VariableSubstitution
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
Constructor Summary
ConstructorDescriptionVariableSubstitutionImpl
(String key, String value, VariableType variableType, ResultsSummary resultSummary) -
Method Summary
Modifier and TypeMethodDescriptionstatic VariableSubstitution
clone
(@NotNull VariableSubstitution input) getKey()
Variable key as defined in UIgetValue()
Variable valueVariableType
shows the source of variable value as it was evaluated before build executionvoid
void
setResultSummary
(ResultsSummary resultSummary) void
void
setVariableType
(VariableType variableType) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
VariableSubstitutionImpl
public VariableSubstitutionImpl() -
VariableSubstitutionImpl
public VariableSubstitutionImpl(String key, String value, VariableType variableType, ResultsSummary resultSummary)
-
-
Method Details
-
clone
-
getKey
Description copied from interface:VariableDefinitionIdentifier
Variable key as defined in UI- Specified by:
getKey
in interfaceVariableDefinitionIdentifier
- Specified by:
getKey
in interfaceVariableSubstitutionContext
- Returns:
- variable identifier
-
setKey
- Specified by:
setKey
in interfaceVariableSubstitutionContext
-
getValue
Description copied from interface:VariableDefinitionIdentifier
Variable value- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
- Specified by:
getValue
in interfaceVariableSubstitutionContext
- Returns:
- variable value
-
setValue
- Specified by:
setValue
in interfaceVariableSubstitutionContext
-
getResultSummary
- Specified by:
getResultSummary
in interfaceVariableSubstitution
-
setResultSummary
- Specified by:
setResultSummary
in interfaceVariableSubstitution
-
getVariableType
Description copied from interface:VariableDefinitionIdentifier
VariableType
shows the source of variable value as it was evaluated before build execution- Specified by:
getVariableType
in interfaceVariableDefinitionIdentifier
- Specified by:
getVariableType
in interfaceVariableSubstitutionContext
- Returns:
- variable type
-
setVariableType
- Specified by:
setVariableType
in interfaceVariableSubstitutionContext
-