|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.VariableBuilderBeanImpl
public class VariableBuilderBeanImpl
Implementation builds a Map of Bamboo variables given a BuildContext
that contains Global, capability, custom build data, build number and build key values as variables.
Constructor Summary | |
---|---|
VariableBuilderBeanImpl()
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
filterVariablesByName(BuildContext buildContext,
java.util.Set<java.lang.String> variableNames)
Returns a map of Bamboo variables given the BuildContext and a Set of variableNames to filter
Note that keys are not prefixed with "bamboo." |
java.util.Map<java.lang.String,java.lang.String> |
getVariables()
Retrieve all of the available variables |
java.util.Map<java.lang.String,java.lang.String> |
getVariables(BuildContext buildContext)
Returns a map of Bamboo variables given the BuildContext Note that keys are not prefixed with "bamboo." |
void |
setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)
|
void |
setCapabilityContext(CapabilityContext capabilityContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariableBuilderBeanImpl()
Method Detail |
---|
public void setAdministrationConfigurationManager(AdministrationConfigurationManager administrationConfigurationManager)
public void setCapabilityContext(CapabilityContext capabilityContext)
@NotNull public java.util.Map<java.lang.String,java.lang.String> filterVariablesByName(@Nullable BuildContext buildContext, @Nullable java.util.Set<java.lang.String> variableNames)
VariableBuilderBean
BuildContext
and a Set of variableNames to filter
Note that keys are not prefixed with "bamboo."
filterVariablesByName
in interface VariableBuilderBean
variableNames
- if null this method will return all variables available
@NotNull public java.util.Map<java.lang.String,java.lang.String> getVariables()
VariableBuilderBean
getVariables
in interface VariableBuilderBean
@NotNull public java.util.Map<java.lang.String,java.lang.String> getVariables(@Nullable BuildContext buildContext)
VariableBuilderBean
getVariables
in interface VariableBuilderBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |