public class ProcessContextImpl extends Object implements ProcessContext
Modifier and Type | Method and Description |
---|---|
List<String> |
decorateProcessCommand(List<String> command)
Modifies given command by executing command decorators available in the current context.
|
BuildKey |
getBuildKey() |
BuildLogger |
getBuildLogger() |
CommonContext |
getCommonContext() |
Map<String,String> |
getEnvironment() |
String |
getJobDisplayName() |
List<String> |
getPaths() |
ResultKey |
getResultKey() |
CommonTaskContext |
getTaskContext() |
String |
getTaskDescription() |
long |
getTaskId()
Returns and id of the current task.
|
String |
getTaskPluginKey() |
VariableContext |
getVariableContext() |
boolean |
isVerboseLoggingOn()
Controls the amount of logging during the execution.
|
@NotNull public BuildLogger getBuildLogger()
getBuildLogger
in interface ProcessContext
@NotNull public ResultKey getResultKey()
getResultKey
in interface ProcessContext
@NotNull public String getJobDisplayName()
getJobDisplayName
in interface ProcessContext
@NotNull public String getTaskDescription()
getTaskDescription
in interface ProcessContext
@NotNull public VariableContext getVariableContext()
getVariableContext
in interface ProcessContext
public long getTaskId()
ProcessContext
getTaskId
in interface ProcessContext
@NotNull public String getTaskPluginKey()
getTaskPluginKey
in interface ProcessContext
@NotNull public CommonContext getCommonContext()
getCommonContext
in interface ProcessContext
@Nullable public CommonTaskContext getTaskContext()
getTaskContext
in interface ProcessContext
@NotNull public Map<String,String> getEnvironment()
getEnvironment
in interface ProcessContext
@NotNull public List<String> getPaths()
getPaths
in interface ProcessContext
@NotNull public BuildKey getBuildKey()
getBuildKey
in interface ProcessContext
@NotNull public List<String> decorateProcessCommand(@NotNull List<String> command)
ProcessContext
decorateProcessCommand
in interface ProcessContext
public boolean isVerboseLoggingOn()
ProcessContext
isVerboseLoggingOn
in interface ProcessContext
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.