Class VariableSubstitutorFactoryImpl
- java.lang.Object
-
- com.atlassian.bamboo.variable.substitutor.VariableSubstitutorFactoryImpl
-
- All Implemented Interfaces:
VariableSubstitutorFactory
public class VariableSubstitutorFactoryImpl extends Object implements VariableSubstitutorFactory
Bean creating instances ofVariableSubstitutor
for various contexts.
-
-
Constructor Summary
Constructors Constructor Description VariableSubstitutorFactoryImpl()
-
Method Summary
-
-
-
Method Detail
-
newSubstitutorForGlobalContext
@NotNull public @NotNull VariableSubstitutor newSubstitutorForGlobalContext()
- Specified by:
newSubstitutorForGlobalContext
in interfaceVariableSubstitutorFactory
- Returns:
- variable substitutor initiated with known global variables
-
newSubstitutorForPlan
@NotNull public @NotNull VariableSubstitutor newSubstitutorForPlan(@NotNull @NotNull ImmutablePlan plan)
- Specified by:
newSubstitutorForPlan
in interfaceVariableSubstitutorFactory
- Returns:
- variable substitutor initiated with known global and plan variables
-
newSubstitutorForCommonContext
@NotNull public @NotNull VariableSubstitutor newSubstitutorForCommonContext(@NotNull @NotNull CommonContext commonContext)
- Specified by:
newSubstitutorForCommonContext
in interfaceVariableSubstitutorFactory
- Returns:
- variable substitutor initiated with global, plan and build/deployment context variables (including result-scoped variables, automatically generated variables, etc.)
-
newSubstitutorForVariables
@NotNull public @NotNull VariableSubstitutor newSubstitutorForVariables(@NotNull @NotNull Map<String,VariableDefinitionContext> variablesContextMap)
- Specified by:
newSubstitutorForVariables
in interfaceVariableSubstitutorFactory
- Returns:
- variable substitutor initiated with variables as argument
-
newSubstitutorForDeploymentResult
@NotNull public @NotNull VariableSubstitutor newSubstitutorForDeploymentResult(long deploymentResultId)
- Specified by:
newSubstitutorForDeploymentResult
in interfaceVariableSubstitutorFactory
- Returns:
- variable substitutor initiated with variables from deployment result
-
setBuildLoggerManager
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
-
setCapabilityContext
public void setCapabilityContext(CapabilityContext capabilityContext)
-
setAdministrationConfigurationAccessor
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
-
setAgentContext
public void setAgentContext(AgentContext agentContext)
-
setBuildDirectoryManager
public void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
-
setVariableDefinitionManager
public void setVariableDefinitionManager(VariableDefinitionManager variableDefinitionManager)
-
setVcsRepositoryManager
public void setVcsRepositoryManager(VcsRepositoryManager vcsRepositoryManager)
-
setDeploymentResultService
public void setDeploymentResultService(DeploymentResultService deploymentResultService)
-
-