@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> |
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) |
@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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.