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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
-
Constructor Summary
Constructors Constructor Description VariableSubstitutionImpl()VariableSubstitutionImpl(String key, String value, VariableType variableType, ResultsSummary resultSummary)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VariableSubstitutionclone(@NotNull VariableSubstitution input)StringgetKey()Variable key as defined in UIResultsSummarygetResultSummary()StringgetValue()Variable valueVariableTypegetVariableType()VariableTypeshows the source of variable value as it was evaluated before build executionvoidsetKey(String key)voidsetResultSummary(ResultsSummary resultSummary)voidsetValue(String value)voidsetVariableType(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 Detail
-
VariableSubstitutionImpl
public VariableSubstitutionImpl()
-
VariableSubstitutionImpl
public VariableSubstitutionImpl(String key, String value, VariableType variableType, ResultsSummary resultSummary)
-
-
Method Detail
-
clone
public static VariableSubstitution clone(@NotNull @NotNull VariableSubstitution input)
-
getKey
public String getKey()
Description copied from interface:VariableDefinitionIdentifierVariable key as defined in UI- Specified by:
getKeyin interfaceVariableDefinitionIdentifier- Specified by:
getKeyin interfaceVariableSubstitutionContext- Returns:
- variable identifier
-
setKey
public void setKey(String key)
- Specified by:
setKeyin interfaceVariableSubstitutionContext
-
getValue
public String getValue()
Description copied from interface:VariableDefinitionIdentifierVariable value- Specified by:
getValuein interfaceVariableDefinitionIdentifier- Specified by:
getValuein interfaceVariableSubstitutionContext- Returns:
- variable value
-
setValue
public void setValue(String value)
- Specified by:
setValuein interfaceVariableSubstitutionContext
-
getResultSummary
public ResultsSummary getResultSummary()
- Specified by:
getResultSummaryin interfaceVariableSubstitution
-
setResultSummary
public void setResultSummary(ResultsSummary resultSummary)
- Specified by:
setResultSummaryin interfaceVariableSubstitution
-
getVariableType
public VariableType getVariableType()
Description copied from interface:VariableDefinitionIdentifierVariableTypeshows the source of variable value as it was evaluated before build execution- Specified by:
getVariableTypein interfaceVariableDefinitionIdentifier- Specified by:
getVariableTypein interfaceVariableSubstitutionContext- Returns:
- variable type
-
setVariableType
public void setVariableType(VariableType variableType)
- Specified by:
setVariableTypein interfaceVariableSubstitutionContext
-
-