public interface VariableDefinitionFactory
Modifier and Type | Method and Description |
---|---|
VariableDefinition |
createGlobalVariable(@NotNull String key,
@NotNull String value)
Create global variable definition
|
VariableDefinition |
createPlanVariable(@NotNull Plan plan,
@NotNull String key,
@NotNull 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 @NotNull String key, @NotNull @NotNull String value)
key
- variable keyvalue
- variable valueVariableDefinition createPlanVariable(@NotNull @NotNull Plan plan, @NotNull @NotNull String key, @NotNull @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.