public class BuiltInVariableHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addVariableContext(Map<String,VariableDefinitionContext> variables,
String key,
String value,
VariableType variableType)
Helper function adding
VariableDefinitionContext to a map that can later be used during variable substitution. |
static void |
createRepositoryVariables(Map<String,VariableDefinitionContext> variables,
List<PlanRepositoryDefinition> repositoryDefinitions,
BuildChanges buildChanges,
VariableType variableType,
VcsRepositoryManager vcsRepositoryManager) |
static void |
createRepositoryVariables(Map<String,VariableDefinitionContext> variables,
ResultsSummary resultsSummary,
VariableType variableType,
RepositoryDefinitionManager repositoryDefinitionManager,
VcsRepositoryManager vcsRepositoryManager) |
public static final String NAMESPACE_BAMBOO
public static final String NAMESPACE_SYSTEM
public static final String PLAN_KEY
public static final String PLAN_NAME
public static final String SHORT_PLAN_KEY
public static final String SHORT_PLAN_NAME
public static final String BUILD_NUMBER
public static final String PLAN_RESULT_KEY
public static final String BUILD_RESULT_KEY
public static final String SHORT_JOB_KEY
public static final String SHORT_JOB_NAME
public static final String BUILD_RESULTS_URL
public static final String RESULTS_URL
public static final String BUILD_KEY
public static final String BUILD_PLAN_NAME
public static final String AGENT_ID
public static final String AGENT_WORKING_DIRECTORY
public static final String REPOSITORY_VAR_PREFIX
public static final String REPOSITORY_NAME
public static final String REPOSITORY_REVISION
public static final String REPOSITORY_PREVIOUS_REVISION
public static final String REPOSITORY_TYPE
public static final String REPOSITORY_BRANCH_NAME
public static final String REPOSITORY_BRANCH_DISPLAY_NAME
public static final String INTEGRATION_BRANCH
public static final String MERGED_REVISION
public static final String DEPLOY_PREFIX
public static final String DEPLOYMENT_PROJECT
public static final String ENVIRONMENT
public static final String DEPLOYMENT_RELEASE
public static final String DEPLOYMENT_PREVIOUS_RELEASE
@Deprecated public static final String DEPLOYMENT_VERSION
@Deprecated public static final String DEPLOYMENT_PREVIOUS_VERSION
public static final String IS_ROLLBACK
public static void addVariableContext(@NotNull Map<String,VariableDefinitionContext> variables, @NotNull String key, @Nullable String value, @NotNull VariableType variableType)
VariableDefinitionContext
to a map that can later be used during variable substitution.variables
- key
- value
- variableType
- public static void createRepositoryVariables(@NotNull Map<String,VariableDefinitionContext> variables, @NotNull ResultsSummary resultsSummary, @NotNull VariableType variableType, @NotNull RepositoryDefinitionManager repositoryDefinitionManager, @NotNull VcsRepositoryManager vcsRepositoryManager)
public static void createRepositoryVariables(@NotNull Map<String,VariableDefinitionContext> variables, @NotNull List<PlanRepositoryDefinition> repositoryDefinitions, @NotNull BuildChanges buildChanges, @NotNull VariableType variableType, @NotNull VcsRepositoryManager vcsRepositoryManager)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.