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