Interface VariableSubstitutorFactory

All Known Implementing Classes:
VariableSubstitutorFactoryImpl

public interface VariableSubstitutorFactory
Bean creating instances of VariableSubstitutor for various contexts.
  • Method Details

    • newSubstitutorForGlobalContext

      @NotNull @NotNull VariableSubstitutor newSubstitutorForGlobalContext()
      Returns:
      variable substitutor initiated with known global variables
    • newSubstitutorForPlan

      @NotNull @NotNull VariableSubstitutor newSubstitutorForPlan(@NotNull @NotNull ImmutablePlan plan)
      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

      @NotNull @NotNull VariableSubstitutor newSubstitutorForDeploymentResult(long deploymentResultId)
      Returns:
      variable substitutor initiated with variables from deployment result