@PublicApi public interface VariableContext extends Serializable
CommonContext
Modifier and Type | Method and Description |
---|---|
void |
addLocalVariable(@NotNull String key,
@NotNull String value)
Add generated local (a.k.a CUSTOM) variable to this context.
|
void |
addResultVariable(@NotNull String key,
@NotNull String value)
Add generated result variable to this context.
|
@NotNull Map<String,VariableDefinitionContext> |
getEffectiveVariables()
Effective state of the variables.
|
@NotNull 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.
|
@NotNull Map<String,VariableDefinitionContext> |
getResultVariables() |
@NotNull Map<String,VariableSubstitutionContext> |
getSubstitutions() |
void |
removeLocalVariable(@NotNull String key) |
@NotNull @NotNull Map<String,VariableDefinitionContext> getOriginalVariables()
@NotNull @NotNull Map<String,VariableDefinitionContext> getEffectiveVariables()
@NotNull @NotNull Map<String,VariableDefinitionContext> getResultVariables()
void addLocalVariable(@NotNull @NotNull String key, @NotNull @NotNull String value)
void addResultVariable(@NotNull @NotNull String key, @NotNull @NotNull String value)
key
- value
- @NotNull @NotNull Map<String,VariableSubstitutionContext> getSubstitutions()
void removeLocalVariable(@NotNull @NotNull String key)
Iterable<VariableDefinitionContext> getPasswordVariables()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.