public class InjectVariablesTask extends Task<InjectVariablesTask,InjectVariablesTaskProperties>
By default scope of extracted variables is set to InjectVariablesScope.LOCAL and the
namespace is set to "inject".
conditions, description, requirements, taskEnabled| Constructor and Description |
|---|
InjectVariablesTask() |
| Modifier and Type | Method and Description |
|---|---|
protected InjectVariablesTaskProperties |
build() |
InjectVariablesTask |
namespace(String namespace)
Specifies namespace to avoid name conflicts with existing variables.
|
InjectVariablesTask |
path(String path)
Specifies path to properties file.
|
InjectVariablesTask |
scope(InjectVariablesScope scope)
Specifies scope of the created variables to result.
|
InjectVariablesTask |
scopeLocal()
Specifies scope of the created variables to local.
|
InjectVariablesTask |
scopeResult()
Specifies scope of the created variables to result.
|
conditions, description, enabled, requirementspublic InjectVariablesTask path(@NotNull String path)
public InjectVariablesTask namespace(@NotNull String namespace)
public InjectVariablesTask scopeLocal()
public InjectVariablesTask scopeResult()
public InjectVariablesTask scope(@NotNull InjectVariablesScope scope)
@NotNull protected InjectVariablesTaskProperties build()
build in class Task<InjectVariablesTask,InjectVariablesTaskProperties>Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.