com.atlassian.bamboo.deployments.results.variable
Class DeploymentVariableSubstitutionImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.deployments.results.variable.DeploymentVariableSubstitutionImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, DeploymentVariableSubstitution, VariableDefinitionIdentifier, VariableSubstitutionContext, java.io.Serializable, java.lang.Cloneable

public class DeploymentVariableSubstitutionImpl
extends BambooEntityObject
implements DeploymentVariableSubstitution

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
 
Constructor Summary
DeploymentVariableSubstitutionImpl()
           
DeploymentVariableSubstitutionImpl(java.lang.String key, java.lang.String value, VariableType variableType, MutableDeploymentResult result)
           
DeploymentVariableSubstitutionImpl(VariableDefinitionIdentifier variable, MutableDeploymentResult result)
           
 
Method Summary
 MutableDeploymentResult getDeploymentResult()
           
 java.lang.String getKey()
          Variable key as defined in UI
 java.lang.String getValue()
          Variable value
 VariableType getVariableType()
          VariableType shows the source of variable value as it was evaluated before build execution
 void setDeploymentResult(MutableDeploymentResult deploymentResult)
           
 void setKey(java.lang.String key)
           
 void setValue(java.lang.String value)
           
 void setVariableType(VariableType variableType)
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

DeploymentVariableSubstitutionImpl

public DeploymentVariableSubstitutionImpl()

DeploymentVariableSubstitutionImpl

public DeploymentVariableSubstitutionImpl(java.lang.String key,
                                          java.lang.String value,
                                          VariableType variableType,
                                          MutableDeploymentResult result)

DeploymentVariableSubstitutionImpl

public DeploymentVariableSubstitutionImpl(@NotNull
                                          VariableDefinitionIdentifier variable,
                                          MutableDeploymentResult result)
Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: VariableDefinitionIdentifier
Variable key as defined in UI

Specified by:
getKey in interface VariableDefinitionIdentifier
Specified by:
getKey in interface VariableSubstitutionContext
Returns:
variable identifier

setKey

public void setKey(java.lang.String key)
Specified by:
setKey in interface VariableSubstitutionContext

getValue

public java.lang.String getValue()
Description copied from interface: VariableDefinitionIdentifier
Variable value

Specified by:
getValue in interface VariableDefinitionIdentifier
Specified by:
getValue in interface VariableSubstitutionContext
Returns:
variable value

setValue

public void setValue(java.lang.String value)
Specified by:
setValue in interface VariableSubstitutionContext

getDeploymentResult

public MutableDeploymentResult getDeploymentResult()
Specified by:
getDeploymentResult in interface DeploymentVariableSubstitution

setDeploymentResult

public void setDeploymentResult(MutableDeploymentResult deploymentResult)
Specified by:
setDeploymentResult in interface DeploymentVariableSubstitution

getVariableType

public VariableType getVariableType()
Description copied from interface: VariableDefinitionIdentifier
VariableType shows the source of variable value as it was evaluated before build execution

Specified by:
getVariableType in interface VariableDefinitionIdentifier
Specified by:
getVariableType in interface VariableSubstitutionContext
Returns:
variable type

setVariableType

public void setVariableType(VariableType variableType)
Specified by:
setVariableType in interface VariableSubstitutionContext

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.