public interface VariableDefinitionFactory
Modifier and Type | Method and Description |
---|---|
VariableDefinition |
createGlobalVariable(String key,
String value)
Create global variable definition
|
VariableDefinition |
createPlanVariable(Plan plan,
String key,
String value)
Create plan variable definition
|
VariableDefinition |
createVariableForEnvironment(long environmentId,
String variableKey,
String variableValue)
Create variable for deployment environment
|
VariableDefinition |
createVariableForProject(long projectId,
String variableKey,
String variableValue)
Create variable for a project
|
VariableDefinition |
createVariableForVersion(long deploymentVersionId,
String variableKey,
String variableValue)
Create variable for deployment version
|
VariableDefinition createGlobalVariable(@NotNull String key, @NotNull String value)
key
- variable keyvalue
- variable valueVariableDefinition createPlanVariable(@NotNull Plan plan, @NotNull String key, @NotNull String value)
plan
- plan associated with variablekey
- variable keyvalue
- variable valueVariableDefinition createVariableForEnvironment(long environmentId, String variableKey, String variableValue)
environmentId
- variableKey
- variableValue
- VariableDefinition createVariableForVersion(long deploymentVersionId, String variableKey, String variableValue)
deploymentVersionId
- variableKey
- variableValue
- VariableDefinition createVariableForProject(long projectId, String variableKey, String variableValue)
projectId
- variableKey
- variableValue
- Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.