@PublicApi public interface VariableContext extends Serializable
CommonContext
Modifier and Type | Method and Description |
---|---|
void |
addLocalVariable(String key,
String value)
Add generated local (a.k.a CUSTOM) variable to this context.
|
void |
addResultVariable(String key,
String value)
Add generated result variable to this context.
|
Map<String,VariableDefinitionContext> |
getDefinitions()
Deprecated.
since 5.7
|
Map<String,VariableDefinitionContext> |
getEffectiveVariables()
Effective state of the variables.
|
Map<String,VariableDefinitionContext> |
getOriginalVariables()
The original state of variables in this context, that is, the state as it
was when execution of job (environment) started.
|
Iterable<VariableDefinitionContext> |
getPasswordVariables()
Get all variables in current context that are considered "password" variables, i.e.
|
Map<String,VariableDefinitionContext> |
getResultVariables() |
Map<String,VariableSubstitutionContext> |
getSubstitutions() |
void |
removeLocalVariable(String key) |
@Deprecated @NotNull Map<String,VariableDefinitionContext> getDefinitions()
@NotNull Map<String,VariableDefinitionContext> getOriginalVariables()
@NotNull Map<String,VariableDefinitionContext> getEffectiveVariables()
@NotNull Map<String,VariableDefinitionContext> getResultVariables()
void addLocalVariable(@NotNull String key, @NotNull String value)
void addResultVariable(@NotNull String key, @NotNull String value)
key
- value
- @NotNull Map<String,VariableSubstitutionContext> getSubstitutions()
void removeLocalVariable(@NotNull String key)
Iterable<VariableDefinitionContext> getPasswordVariables()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.