com.atlassian.bamboo.variable
Class BuiltInVariableHelper
java.lang.Object
com.atlassian.bamboo.variable.BuiltInVariableHelper
public class BuiltInVariableHelper
- extends Object
Method Summary |
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<RepositoryDefinition> repositoryDefinitions,
BuildChanges buildChanges,
VariableType variableType)
|
static void |
createRepositoryVariables(Map<String,VariableDefinitionContext> variables,
ResultsSummary resultsSummary,
VariableType variableType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE_BAMBOO
public static final String NAMESPACE_BAMBOO
- See Also:
- Constant Field Values
NAMESPACE_SYSTEM
public static final String NAMESPACE_SYSTEM
- See Also:
- Constant Field Values
PLAN_KEY
public static final String PLAN_KEY
- See Also:
- Constant Field Values
PLAN_NAME
public static final String PLAN_NAME
- See Also:
- Constant Field Values
SHORT_PLAN_KEY
public static final String SHORT_PLAN_KEY
- See Also:
- Constant Field Values
SHORT_PLAN_NAME
public static final String SHORT_PLAN_NAME
- See Also:
- Constant Field Values
BUILD_NUMBER
public static final String BUILD_NUMBER
- See Also:
- Constant Field Values
PLAN_RESULT_KEY
public static final String PLAN_RESULT_KEY
- See Also:
- Constant Field Values
BUILD_RESULT_KEY
public static final String BUILD_RESULT_KEY
- See Also:
- Constant Field Values
SHORT_JOB_KEY
public static final String SHORT_JOB_KEY
- See Also:
- Constant Field Values
SHORT_JOB_NAME
public static final String SHORT_JOB_NAME
- See Also:
- Constant Field Values
BUILD_RESULTS_URL
public static final String BUILD_RESULTS_URL
- See Also:
- Constant Field Values
RESULTS_URL
public static final String RESULTS_URL
- See Also:
- Constant Field Values
BUILD_KEY
public static final String BUILD_KEY
- See Also:
- Constant Field Values
BUILD_PLAN_NAME
public static final String BUILD_PLAN_NAME
- See Also:
- Constant Field Values
AGENT_ID
public static final String AGENT_ID
- See Also:
- Constant Field Values
AGENT_WORKING_DIRECTORY
public static final String AGENT_WORKING_DIRECTORY
- See Also:
- Constant Field Values
REPOSITORY_VAR_PREFIX
public static final String REPOSITORY_VAR_PREFIX
- See Also:
- Constant Field Values
REPOSITORY_NAME
public static final String REPOSITORY_NAME
- See Also:
- Constant Field Values
REPOSITORY_REVISION
public static final String REPOSITORY_REVISION
- See Also:
- Constant Field Values
REPOSITORY_PREVIOUS_REVISION
public static final String REPOSITORY_PREVIOUS_REVISION
- See Also:
- Constant Field Values
REPOSITORY_TYPE
public static final String REPOSITORY_TYPE
- See Also:
- Constant Field Values
REPOSITORY_BRANCH_NAME
public static final String REPOSITORY_BRANCH_NAME
- See Also:
- Constant Field Values
INTEGRATION_BRANCH
public static final String INTEGRATION_BRANCH
- See Also:
- Constant Field Values
MERGED_REVISION
public static final String MERGED_REVISION
- See Also:
- Constant Field Values
DEPLOY_PREFIX
public static final String DEPLOY_PREFIX
- See Also:
- Constant Field Values
DEPLOYMENT_PROJECT
public static final String DEPLOYMENT_PROJECT
- See Also:
- Constant Field Values
ENVIRONMENT
public static final String ENVIRONMENT
- See Also:
- Constant Field Values
DEPLOYMENT_RELEASE
public static final String DEPLOYMENT_RELEASE
- See Also:
- Constant Field Values
DEPLOYMENT_PREVIOUS_RELEASE
public static final String DEPLOYMENT_PREVIOUS_RELEASE
- See Also:
- Constant Field Values
DEPLOYMENT_VERSION
@Deprecated
public static final String DEPLOYMENT_VERSION
- Deprecated. since 5.1
- See Also:
- Constant Field Values
DEPLOYMENT_PREVIOUS_VERSION
@Deprecated
public static final String DEPLOYMENT_PREVIOUS_VERSION
- Deprecated. since 5.1
- See Also:
- Constant Field Values
IS_ROLLBACK
public static final String IS_ROLLBACK
- See Also:
- Constant Field Values
addVariableContext
public static void addVariableContext(@NotNull
Map<String,VariableDefinitionContext> variables,
@NotNull
String key,
@Nullable
String value,
@NotNull
VariableType variableType)
- Helper function adding
VariableDefinitionContext
to a map that can later be used during variable substitution.
- Parameters:
variables
- key
- value
- variableType
-
createRepositoryVariables
public static void createRepositoryVariables(@NotNull
Map<String,VariableDefinitionContext> variables,
@NotNull
ResultsSummary resultsSummary,
@NotNull
VariableType variableType)
createRepositoryVariables
public static void createRepositoryVariables(@NotNull
Map<String,VariableDefinitionContext> variables,
@NotNull
List<RepositoryDefinition> repositoryDefinitions,
@NotNull
BuildChanges buildChanges,
@NotNull
VariableType variableType)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.