public class ResultsSummaryVariableAccessorImpl extends Object implements ResultsSummaryVariableAccessor
Constructor and Description |
---|
ResultsSummaryVariableAccessorImpl(ResultsSummaryManager resultsSummaryManager,
VariableContextBaselineDao variableContextBaselineDao) |
Modifier and Type | Method and Description |
---|---|
Map<String,VariableDefinitionContext> |
calculateCurrentVariablesState(PlanResultKey chainResultKey)
Get state of variables at point when execution of the build stopped.
|
Map<String,VariableDefinitionContext> |
calculateInitialVariablesState(PlanResultKey chainResultKey)
Get state of variables as recorded at the start of the build.
|
List<VariableDefinitionContext> |
getManualVariables(ChainResultsSummary chainResultsSummary)
Get manual variables state from start of this chain result.
|
List<VariableDefinitionContext> |
getVariableStateForJobResult(BuildResultsSummary resultsSummary)
Get state of all variables at the end of the job.
|
VariableContextBaseline |
safeGetVariableContextBaseline(PlanResultKey chainResultKey) |
public ResultsSummaryVariableAccessorImpl(ResultsSummaryManager resultsSummaryManager, VariableContextBaselineDao variableContextBaselineDao)
@NotNull public Map<String,VariableDefinitionContext> calculateInitialVariablesState(@NotNull PlanResultKey chainResultKey)
ResultsSummaryVariableAccessor
calculateInitialVariablesState
in interface ResultsSummaryVariableAccessor
@NotNull public List<VariableDefinitionContext> getManualVariables(@NotNull ChainResultsSummary chainResultsSummary)
ResultsSummaryVariableAccessor
getManualVariables
in interface ResultsSummaryVariableAccessor
@NotNull public Map<String,VariableDefinitionContext> calculateCurrentVariablesState(@NotNull PlanResultKey chainResultKey)
ResultsSummaryVariableAccessor
calculateCurrentVariablesState
in interface ResultsSummaryVariableAccessor
@Nullable public VariableContextBaseline safeGetVariableContextBaseline(@NotNull PlanResultKey chainResultKey)
safeGetVariableContextBaseline
in interface ResultsSummaryVariableAccessor
@NotNull public List<VariableDefinitionContext> getVariableStateForJobResult(BuildResultsSummary resultsSummary)
ResultsSummaryVariableAccessor
getVariableStateForJobResult
in interface ResultsSummaryVariableAccessor
resultsSummary
- job resultCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.