Package com.atlassian.bamboo.variable
Class VariableDefinitionContextImpl
java.lang.Object
com.atlassian.bamboo.variable.VariableDefinitionContextImpl
- All Implemented Interfaces:
VariableDefinitionContext
,VariableDefinitionIdentifier
,Serializable
public final class VariableDefinitionContextImpl
extends Object
implements VariableDefinitionContext
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.common.base.Function<VariableDefinitionContext,
VariableDefinitionContext> Fields inherited from interface com.atlassian.bamboo.variable.VariableDefinitionIdentifier
ORDERING
-
Constructor Summary
ConstructorDescriptionVariableDefinitionContextImpl
(VariableDefinitionContext variableDefinitionContext) VariableDefinitionContextImpl
(String key, String value, VariableType variableType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull String
getKey()
Variable key as defined in UIgetValue()
Variable value as set in UIVariableType
shows the source of variable value as it was evaluated before build executionint
hashCode()
void
void
void
setVariableType
(VariableType variableType) toString()
-
Field Details
-
CLONE
public static final com.google.common.base.Function<VariableDefinitionContext,VariableDefinitionContext> CLONE
-
-
Constructor Details
-
VariableDefinitionContextImpl
-
VariableDefinitionContextImpl
-
-
Method Details
-
getKey
Description copied from interface:VariableDefinitionContext
Variable key as defined in UI- Specified by:
getKey
in interfaceVariableDefinitionContext
- Specified by:
getKey
in interfaceVariableDefinitionIdentifier
- Returns:
- variable key
-
getValue
Description copied from interface:VariableDefinitionContext
Variable value as set in UI- Specified by:
getValue
in interfaceVariableDefinitionContext
- Specified by:
getValue
in interfaceVariableDefinitionIdentifier
-
setKey
- Specified by:
setKey
in interfaceVariableDefinitionContext
-
setValue
- Specified by:
setValue
in interfaceVariableDefinitionContext
-
getVariableType
Description copied from interface:VariableDefinitionContext
VariableType
shows the source of variable value as it was evaluated before build execution- Specified by:
getVariableType
in interfaceVariableDefinitionContext
- Specified by:
getVariableType
in interfaceVariableDefinitionIdentifier
- Returns:
-
setVariableType
- Specified by:
setVariableType
in interfaceVariableDefinitionContext
-
toString
-
equals
-
hashCode
public int hashCode()
-