Interface VariableSubstitutorFactory
- All Known Implementing Classes:
VariableSubstitutorFactoryImpl
public interface VariableSubstitutorFactory
Bean creating instances of
VariableSubstitutor
for various contexts.-
Method Summary
Modifier and TypeMethodDescription@NotNull VariableSubstitutor
newSubstitutorForCommonContext
(@NotNull CommonContext commonContext) @NotNull VariableSubstitutor
newSubstitutorForDeploymentResult
(long deploymentResultId) @NotNull VariableSubstitutor
@NotNull VariableSubstitutor
newSubstitutorForPlan
(@NotNull ImmutablePlan plan) @NotNull VariableSubstitutor
newSubstitutorForVariables
(@NotNull Map<String, VariableDefinitionContext> variablesContextMap)
-
Method Details
-
newSubstitutorForGlobalContext
- Returns:
- variable substitutor initiated with known global variables
-
newSubstitutorForPlan
- Returns:
- variable substitutor initiated with known global and plan variables
-
newSubstitutorForCommonContext
@NotNull @NotNull VariableSubstitutor newSubstitutorForCommonContext(@NotNull @NotNull CommonContext commonContext) - Parameters:
commonContext
-- Returns:
- variable substitutor initiated with global, plan and build/deployment context variables (including result-scoped variables, automatically generated variables, etc.)
-
newSubstitutorForVariables
@NotNull @NotNull VariableSubstitutor newSubstitutorForVariables(@NotNull @NotNull Map<String, VariableDefinitionContext> variablesContextMap) - Returns:
- variable substitutor initiated with variables as argument
-
newSubstitutorForDeploymentResult
- Returns:
- variable substitutor initiated with variables from deployment result
-