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 ProcessContext
public long getTaskId()
ProcessContext
getTaskId
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)
ProcessContext
decorateProcessCommand
in interface ProcessContext
public boolean isVerboseLoggingOn()
ProcessContext
isVerboseLoggingOn
in interface ProcessContext
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences