Uses of Interface
com.atlassian.bamboo.variable.VariableDefinitionContext
Package
Description
-
Uses of VariableDefinitionContext in com.atlassian.bamboo.build
Modifier and TypeMethodDescription@NotNull List<VariableDefinitionContext>
PlanResultsAction.getManualVariables()
PlanResultsAction.getMaskedVariables()
-
Uses of VariableDefinitionContext in com.atlassian.bamboo.chains
Modifier and TypeMethodDescriptionvoid
ChainBuildState.addResultVariablesFromPreviousStages
(Map<String, VariableDefinitionContext> resultVariables) Updates build context of the jobs in with result variables collected in previous stage(s).void
StageState.addResultVariablesFromPreviousStages
(@NotNull Map<String, VariableDefinitionContext> resultVariables) Updates build context of all jobs in this stage with result variables collected in previous stage(s).void
ChainState.updateVariableContext
(@NotNull Map<String, VariableDefinitionContext> resultVariables) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.chains.execution
ModifierConstructorDescriptionAddResultVariables
(@NotNull Map<String, VariableDefinitionContext> resultVariables) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.deployments.versions.actions
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<VariableDefinitionContext>
ViewDeploymentVersionVariables.getAvailableVariables()
-
Uses of VariableDefinitionContext in com.atlassian.bamboo.deployments.versions.service
Modifier and TypeMethodDescription@NotNull Map<String,
VariableDefinitionContext> DeploymentVersionService.getPossibleVersionVariables
(@NotNull ImmutablePlan linkedPlan, boolean includeUndeterminable) Provides a map of variables which might show up on a version.@NotNull Map<String,
VariableDefinitionContext> DeploymentVersionService.getPossibleVersionVariables
(@NotNull ImmutablePlan linkedPlan, @Nullable PlanResultKey planResultKey, boolean includeUndeterminable) Provides a map of variables which might show up on a version.@NotNull Map<String,
VariableDefinitionContext> DeploymentVersionServiceImpl.getPossibleVersionVariables
(@NotNull ImmutablePlan linkedPlan, boolean includeUndeterminable) @NotNull Map<String,
VariableDefinitionContext> DeploymentVersionServiceImpl.getPossibleVersionVariables
(@NotNull ImmutablePlan linkedPlan, @Nullable PlanResultKey planResultKey, boolean includeUndeterminable) Modifier and TypeMethodDescription@NotNull String
DeploymentVersionService.getEvaluatedVersionName
(String nextVersionName, Map<String, VariableDefinitionContext> variables, Set<String> variablesToIncrement) @NotNull String
DeploymentVersionServiceImpl.getEvaluatedVersionName
(String nextVersionName, Map<String, VariableDefinitionContext> variables, Set<String> variablesToIncrement) @NotNull MutableDeploymentVersion
VersionNamingService.nameAndCreateVersion
(@NotNull InternalDeploymentProject deploymentProject, @NotNull ImmutablePlan linkedPlan, @NotNull MutableDeploymentVersion version, @Nullable String versionName, @Nullable String nextVersionName, @NotNull Map<String, VariableDefinitionContext> variables) Takes a new deployment version, if new version name supplied, uses that, otherwise generates unique name based on version naming scheme.@NotNull MutableDeploymentVersion
VersionNamingServiceImpl.nameAndCreateVersion
(@NotNull InternalDeploymentProject deploymentProject, @NotNull ImmutablePlan linkedPlan, @NotNull MutableDeploymentVersion deploymentVersion, @Nullable String versionName, @Nullable String nextVersionName, @NotNull Map<String, VariableDefinitionContext> variables) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.plugins.rest.model.build
Modifier and TypeMethodDescriptionprotected RestVariableList
Result.getVariables
(Function<ImmutableResultsSummary, Collection<VariableDefinitionContext>> variableStateProvider) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.plugins.rest.model.configuration
ModifierConstructorDescriptionRestVariableDefinitionContext
(VariableDefinitionContext variableDefinitionContext) ModifierConstructorDescriptionRestVariableDefinitionContextList
(List<VariableDefinitionContext> variableContext, int maxItems) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.resultsummary.variables
Modifier and TypeMethodDescription@NotNull Map<String,
VariableDefinitionContext> ResultsSummaryVariableAccessor.calculateCurrentVariablesState
(@NotNull PlanResultKey chainResultKey) Get state of variables at point when execution of the build stopped.@NotNull Map<String,
VariableDefinitionContext> ResultsSummaryVariableAccessor.calculateCurrentVariablesState
(@NotNull PlanResultKey chainResultKey, StageIdentifier startingStage) Get state of variables at point when execution of the build stopped.@NotNull Map<String,
VariableDefinitionContext> ResultsSummaryVariableAccessorImpl.calculateCurrentVariablesState
(@NotNull PlanResultKey chainResultKey) @NotNull Map<String,
VariableDefinitionContext> ResultsSummaryVariableAccessorImpl.calculateCurrentVariablesState
(@NotNull PlanResultKey chainResultKey, StageIdentifier startingStage) @NotNull Map<String,
VariableDefinitionContext> ResultsSummaryVariableAccessor.calculateInitialVariablesState
(@NotNull PlanResultKey chainResultKey) Get state of variables as recorded at the start of the build.@NotNull Map<String,
VariableDefinitionContext> ResultsSummaryVariableAccessorImpl.calculateInitialVariablesState
(@NotNull PlanResultKey chainResultKey) @NotNull List<VariableDefinitionContext>
ResultsSummaryVariableAccessor.getManualVariables
(@NotNull ChainResultsSummary resultsSummary) Get manual variables state from start of this chain result.@NotNull List<VariableDefinitionContext>
ResultsSummaryVariableAccessorImpl.getManualVariables
(@NotNull ChainResultsSummary chainResultsSummary) @NotNull List<VariableDefinitionContext>
ResultsSummaryVariableAccessor.getVariableStateForJobResult
(BuildResultsSummary resultsSummary) Get state of all variables at the end of the job.@NotNull List<VariableDefinitionContext>
ResultsSummaryVariableAccessorImpl.getVariableStateForJobResult
(BuildResultsSummary resultsSummary) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.util
Modifier and TypeFieldDescriptionstatic Predicate<VariableDefinitionContext>
PasswordMaskingUtils.SHOULD_VARIABLE_BE_MASKED
Modifier and TypeMethodDescriptionstatic <T extends VariableDefinitionContext>
Collection<? extends T>PasswordMaskingUtils.maskPasswordValues
(@NotNull Collection<T> variables, @NotNull Function<? super T, ? extends T> clone) static <T extends VariableDefinitionContext>
@NotNull Iterable<T>PasswordMaskingUtils.removePasswordVariableDefinitions
(@NotNull Iterable<T> variables) Modifier and TypeMethodDescriptionstatic @NotNull Map<String,
VariableDefinitionContext> PasswordMaskingUtils.removePasswordVariables
(@NotNull Map<String, VariableDefinitionContext> variables) Modifier and TypeMethodDescriptionstatic boolean
PasswordMaskingUtils.shouldBeMasked
(@NotNull VariableDefinitionContext variableDefinition) Modifier and TypeMethodDescriptionPasswordMaskingUtils.findPossiblePasswordValues
(Collection<VariableDefinitionContext> variables) static @NotNull Map<String,
VariableDefinitionContext> PasswordMaskingUtils.removePasswordVariables
(@NotNull Map<String, VariableDefinitionContext> variables) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.utils
Modifier and TypeMethodDescriptionstatic @NotNull com.google.common.collect.Ordering<VariableDefinitionContext>
Comparators.getVariableDefinitionContextOrdering()
-
Uses of VariableDefinitionContext in com.atlassian.bamboo.v2.ww2.build
Modifier and TypeMethodDescription@NotNull Collection<? extends VariableDefinitionContext>
ParameterisedManualBuild.getOverridableVariables()
ParameterisedManualBuild.getOverriddenVariablesMap()
-
Uses of VariableDefinitionContext in com.atlassian.bamboo.variable
Modifier and TypeInterfaceDescriptioninterface
Represents state of variables in reference to stage results.interface
Modifier and TypeClassDescriptionclass
final class
final class
class
Modifier and TypeFieldDescriptionstatic final com.google.common.base.Function<VariableDefinitionContext,
VariableDefinitionContext> VariableDefinitionContextImpl.CLONE
static final com.google.common.base.Function<VariableDefinitionContext,
VariableDefinitionContext> VariableDefinitionContextImpl.CLONE
Modifier and TypeMethodDescriptionstatic VariableDefinitionContext
VariableFunctions.definitionContextFromIdentifier
(@Nullable VariableDefinitionIdentifier input) Modifier and TypeMethodDescriptionVariableContextBuilder.buildMap()
VariableContextBuilderImpl.buildMap()
static com.google.common.base.Function<VariableDefinitionIdentifier,
VariableDefinitionContext> VariableFunctions.definitionFromIdentifier()
@NotNull Map<String,
VariableDefinitionContext> CustomVariableContext.getBuildInRepositoryVariablesIfBuildContext()
Return variables all built-in variables produced by repository plugin for the current build context.@NotNull Map<String,
VariableDefinitionContext> CustomVariableContextForTests.getBuildInRepositoryVariablesIfBuildContext()
CustomVariableContextImpl.getBuildInRepositoryVariablesIfBuildContext()
@NotNull Map<String,
VariableDefinitionContext> ImmutableVariableContext.getEffectiveVariables()
Effective state of the variables.@NotNull Map<String,
VariableDefinitionContext> VariableContextImpl.getEffectiveVariables()
@NotNull Map<String,
VariableDefinitionContext> ImmutableVariableContext.getInitialState()
Get initial state of this context, that is variables that are set at the creation of this context not including variables inherited from the parent context.@NotNull Map<String,
VariableDefinitionContext> VariableContextImpl.getInitialState()
@NotNull Map<String,
VariableDefinitionContext> ImmutableVariableContext.getOriginalVariables()
The original state of variables in this context, that is, the state as it was when execution of job (environment) started, created from parent context (if applicable) and explicit 'initial state' of this context.@NotNull Map<String,
VariableDefinitionContext> VariableContextImpl.getOriginalVariables()
ImmutableVariableContext.getPasswordVariables()
Get all variables in current context that are considered "password" variables, i.e.VariableContextImpl.getPasswordVariables()
@NotNull Map<String,
VariableDefinitionContext> ImmutableVariableContext.getResultVariables()
@NotNull Map<String,
VariableDefinitionContext> VariableContextImpl.getResultVariables()
@NotNull Map<String,
VariableDefinitionContext> CustomVariableContext.getVariableContexts()
Get all variables from current thread local context.@NotNull Map<String,
VariableDefinitionContext> CustomVariableContextForTests.getVariableContexts()
@NotNull Map<String,
VariableDefinitionContext> CustomVariableContextImpl.getVariableContexts()
static @NotNull com.google.common.collect.Ordering<VariableDefinitionContext>
VariableComparators.getVariableDefinitionContextOrdering()
static com.google.common.base.Function<VariableDefinitionContext,
VariableType> VariableFunctions.getVariableDefinitionContextType()
static com.google.common.base.Function<VariableDefinitionContext,
String> VariableFunctions.getVariableDefinitionContextValue()
static Map<String,
VariableDefinitionContext> VariableUtils.identifiersToContextMap
(@NotNull Iterable<? extends VariableDefinitionIdentifier> ids) Modifier and TypeMethodDescriptionVariableContextBuilder.add
(Map<String, VariableDefinitionContext> input) VariableContextBuilderImpl.add
(Map<String, VariableDefinitionContext> input) static void
BuiltInVariableHelper.addVariableContext
(@NotNull Map<String, VariableDefinitionContext> variables, @NotNull String key, @Nullable String value, @NotNull VariableType variableType) Helper function addingVariableDefinitionContext
to a map that can later be used during variable substitution.static void
BuiltInVariableHelper.createRepositoryVariables
(@NotNull Map<String, VariableDefinitionContext> variables, @NotNull ResultsSummary resultsSummary, @NotNull VariableType variableType, @NotNull RepositoryDefinitionManager repositoryDefinitionManager, @NotNull VcsRepositoryManager vcsRepositoryManager) static void
BuiltInVariableHelper.createRepositoryVariables
(@NotNull Map<String, VariableDefinitionContext> variables, @NotNull List<PlanRepositoryDefinition> repositoryDefinitions, @NotNull BuildChanges buildChanges, @NotNull VariableType variableType, @NotNull VcsRepositoryManager vcsRepositoryManager) ModifierConstructorDescriptionSubstitutedVariableDefinitionContextImpl
(VariableDefinitionContext original, List<String> keysToReplace, Map<String, VariableDefinitionContext> valuesToReplaceWith) VariableDefinitionContextImpl
(VariableDefinitionContext variableDefinitionContext) ModifierConstructorDescriptionSubstitutedVariableDefinitionContextImpl
(VariableDefinitionContext original, List<String> keysToReplace, Map<String, VariableDefinitionContext> valuesToReplaceWith) VariableContextImpl
(Map<String, VariableDefinitionContext> definitions) VariableContextImpl
(Map<String, VariableDefinitionContext> definitions, ImmutableVariableContext parentContext) -
Uses of VariableDefinitionContext in com.atlassian.bamboo.variable.substitutor
Modifier and TypeMethodDescriptionVariableSubstitutor.getBuiltInRepositoryVariablesIfBuildContext()
If current context is releated to aBuildContext
return all the automatic variables related to repositories.VariableSubstitutorImpl.getBuiltInRepositoryVariablesIfBuildContext()
@NotNull Map<String,
VariableDefinitionContext> VariableSubstitutor.getVariableContexts()
Get all variables in current context@NotNull Map<String,
VariableDefinitionContext> VariableSubstitutorImpl.getVariableContexts()
static Map<String,
VariableDefinitionContext> NestedVariableResolver.resolveVariables
(@NotNull Map<String, VariableDefinitionContext> originalVariables, @Nullable BuildLogger buildLogger) Resolves nested variables.Modifier and TypeMethodDescription@NotNull VariableSubstitutor
VariableSubstitutorFactory.newSubstitutorForVariables
(@NotNull Map<String, VariableDefinitionContext> variablesContextMap) @NotNull VariableSubstitutor
VariableSubstitutorFactoryImpl.newSubstitutorForVariables
(@NotNull Map<String, VariableDefinitionContext> variablesContextMap) static Map<String,
VariableDefinitionContext> NestedVariableResolver.resolveVariables
(@NotNull Map<String, VariableDefinitionContext> originalVariables, @Nullable BuildLogger buildLogger) Resolves nested variables.ModifierConstructorDescriptionprotected
VariableSubstitutorImpl
(@NotNull Map<String, VariableDefinitionContext> variablesContextMap, @NotNull BuildLoggerManager buildLoggerManager, @Nullable CapabilityContext capabilityContext, @NotNull AgentContext agentContext, @NotNull BuildDirectoryManager buildDirectoryManager, @NotNull BambooUrl bambooUrl, @NotNull VcsRepositoryManager vcsRepositoryManager)