Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AgentInfo - Class in org.jenkinsci.plugins.durabletask
- AgentInfo(AgentInfo.OsType, String, boolean, String, boolean) - Constructor for class org.jenkinsci.plugins.durabletask.AgentInfo
- AgentInfo.GetAgentInfo - Class in org.jenkinsci.plugins.durabletask
- AgentInfo.OsType - Enum in org.jenkinsci.plugins.durabletask
B
- BINARY_RESOURCE_PREFIX - Static variable in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- BourneShellScript - Class in org.jenkinsci.plugins.durabletask
-
Runs a Bourne shell script on a Unix node using
nohup
. - BourneShellScript(String) - Constructor for class org.jenkinsci.plugins.durabletask.BourneShellScript
- BourneShellScript_bourne_shell() - Static method in class org.jenkinsci.plugins.durabletask.Messages
-
Key
BourneShellScript.bourne_shell
:Bourne shell
. - BourneShellScript.DescriptorImpl - Class in org.jenkinsci.plugins.durabletask
C
- canTake(Node, Queue.BuildableItem) - Method in class org.jenkinsci.plugins.durabletask.executors.ContinuedTask.Scheduler
- captureOutput() - Method in class org.jenkinsci.plugins.durabletask.BourneShellScript
- captureOutput() - Method in class org.jenkinsci.plugins.durabletask.DurableTask
-
Requests that standard output of the task be captured rather than streamed.
- captureOutput() - Method in class org.jenkinsci.plugins.durabletask.PowershellScript
- captureOutput() - Method in class org.jenkinsci.plugins.durabletask.WindowsBatchScript
- charset(Charset) - Method in class org.jenkinsci.plugins.durabletask.DurableTask
-
Requests that a specified charset be used to transcode process output.
- charset(Charset) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- check(AbstractCloudComputer) - Method in class org.jenkinsci.plugins.durabletask.executors.OnceRetentionStrategy
- cleanup(FilePath) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Cleans up after a task is done.
- cleanup(FilePath) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
- ContinuableExecutable - Interface in org.jenkinsci.plugins.durabletask.executors
-
The conceptual dual to
ContinuedTask
: an executable which is expected to be replaced by another task before the logical work finishes. - ContinuedTask - Interface in org.jenkinsci.plugins.durabletask
-
Deprecated.
- ContinuedTask - Interface in org.jenkinsci.plugins.durabletask.executors
-
Marker for tasks which should perhaps “jump ahead” in the queue because they continue an earlier task.
- ContinuedTask__should_be_allowed_to_run_first(Object) - Static method in class org.jenkinsci.plugins.durabletask.executors.Messages
-
Key
ContinuedTask._should_be_allowed_to_run_first
:{0} should be allowed to run first
. - ContinuedTask.Scheduler - Class in org.jenkinsci.plugins.durabletask.executors
- controlDir(FilePath) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
Directory in which this controller can place files.
- Controller - Class in org.jenkinsci.plugins.durabletask
-
Defines how to control the execution of a task after it has started.
- Controller() - Constructor for class org.jenkinsci.plugins.durabletask.Controller
- COOKIE - Static variable in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
D
- DARWIN - Enum constant in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
- defaultCharset() - Method in class org.jenkinsci.plugins.durabletask.DurableTask
-
Requests that the node’s system charset be used to transcode process output.
- defaultCharset() - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- DescriptorImpl() - Constructor for class org.jenkinsci.plugins.durabletask.BourneShellScript.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jenkinsci.plugins.durabletask.PowershellScript.DescriptorImpl
- DescriptorImpl() - Constructor for class org.jenkinsci.plugins.durabletask.WindowsBatchScript.DescriptorImpl
- doFillPowershellBinary() - Method in class org.jenkinsci.plugins.durabletask.PowershellScript.DescriptorImpl
- doLaunch(FilePath, Launcher, TaskListener, EnvVars) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
-
Should start a process which sends output to log file in the workspace and finally writes its exit code to result file.
- doLaunch(FilePath, Launcher, TaskListener, EnvVars) - Method in class org.jenkinsci.plugins.durabletask.PowershellScript
- doLaunch(FilePath, Launcher, TaskListener, EnvVars) - Method in class org.jenkinsci.plugins.durabletask.WindowsBatchScript
- DurableTask - Class in org.jenkinsci.plugins.durabletask
-
A task which may be run asynchronously on a build node and withstand disconnection of the slave agent.
- DurableTask() - Constructor for class org.jenkinsci.plugins.durabletask.DurableTask
- DurableTaskDescriptor - Class in org.jenkinsci.plugins.durabletask
-
Descriptor type for
DurableTask
. - DurableTaskDescriptor() - Constructor for class org.jenkinsci.plugins.durabletask.DurableTaskDescriptor
E
- escape(EnvVars) - Static method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
-
JENKINS-40734: blocks the substitutions of
EnvVars.overrideExpandingAll(java.util.Map<java.lang.String, java.lang.String>)
done byLauncher
. - exited(int, byte[]) - Method in class org.jenkinsci.plugins.durabletask.Handler
-
Notification that the process has exited or vanished.
- exitStatus(FilePath) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Deprecated.
- exitStatus(FilePath, Launcher) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Deprecated.
- exitStatus(FilePath, Launcher, TaskListener) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Checks whether the task has finished.
- exitStatus(FilePath, Launcher, TaskListener) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
- exitStatus(FilePath, TaskListener) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
Like
FileMonitoringTask.FileMonitoringController.exitStatus(FilePath, Launcher, TaskListener)
but not requesting aLauncher
, which would not be available inFileMonitoringTask.FileMonitoringController.watch(hudson.FilePath, org.jenkinsci.plugins.durabletask.Handler, hudson.model.TaskListener)
mode anyway.
F
- FileMonitoringController(FilePath) - Constructor for class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
Deprecated.
- FileMonitoringController(FilePath, String) - Constructor for class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
- FileMonitoringTask - Class in org.jenkinsci.plugins.durabletask
-
A task which forks some external command and then waits for log and status files to be updated/created.
- FileMonitoringTask() - Constructor for class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- FileMonitoringTask.FileMonitoringController - Class in org.jenkinsci.plugins.durabletask
-
Tails a log file and watches for an exit status file.
- FREEBSD - Enum constant in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
G
- getAgentInfo(FilePath) - Static method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- getArchitecture() - Method in class org.jenkinsci.plugins.durabletask.AgentInfo
- getBinaryPath() - Method in class org.jenkinsci.plugins.durabletask.AgentInfo
- getDescriptor() - Method in class org.jenkinsci.plugins.durabletask.DurableTask
- getDiagnostics(FilePath, Launcher) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Should be overridden to provide specific information about the status of an external process, for diagnostic purposes.
- getDiagnostics(FilePath, Launcher) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
- getDisplayName() - Method in class org.jenkinsci.plugins.durabletask.BourneShellScript.DescriptorImpl
- getDisplayName() - Method in class org.jenkinsci.plugins.durabletask.PowershellScript.DescriptorImpl
- getDisplayName() - Method in class org.jenkinsci.plugins.durabletask.WindowsBatchScript.DescriptorImpl
- getLastLocationFile(FilePath) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
File in which a last-read position is stored if
FileMonitoringTask.FileMonitoringController.watch(hudson.FilePath, org.jenkinsci.plugins.durabletask.Handler, hudson.model.TaskListener)
is used. - getLogFile(FilePath) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
File in which the stdout/stderr (or, if
DurableTask.captureOutput()
is called, just stderr) is written. - getNameForBinary() - Method in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
- getNodeRoot(FilePath) - Static method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- getOs() - Method in class org.jenkinsci.plugins.durabletask.AgentInfo
- getOutput(FilePath) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
Like
FileMonitoringTask.FileMonitoringController.getOutput(FilePath, Launcher)
but not requesting aLauncher
, which would not be available inFileMonitoringTask.FileMonitoringController.watch(hudson.FilePath, org.jenkinsci.plugins.durabletask.Handler, hudson.model.TaskListener)
mode anyway. - getOutput(FilePath, Launcher) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Obtain the process output.
- getOutput(FilePath, Launcher) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
- getOutputFile(FilePath) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
File in which the stdout is written, if
DurableTask.captureOutput()
is called. - getPowershellBinary() - Method in class org.jenkinsci.plugins.durabletask.PowershellScript
- getResultFile(FilePath) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
-
File in which the exit code of the process should be reported.
- getScript() - Method in class org.jenkinsci.plugins.durabletask.BourneShellScript
- getScript() - Method in class org.jenkinsci.plugins.durabletask.PowershellScript
- getScript() - Method in class org.jenkinsci.plugins.durabletask.WindowsBatchScript
H
- Handler - Class in org.jenkinsci.plugins.durabletask
-
A remote handler which may be sent to an agent and handle process output and results.
- Handler() - Constructor for class org.jenkinsci.plugins.durabletask.Handler
I
- invoke(File, VirtualChannel) - Method in class org.jenkinsci.plugins.durabletask.AgentInfo.GetAgentInfo
- isBinaryCached() - Method in class org.jenkinsci.plugins.durabletask.AgentInfo
- isBinaryCompatible() - Method in class org.jenkinsci.plugins.durabletask.AgentInfo
- isCachingAvailable() - Method in class org.jenkinsci.plugins.durabletask.AgentInfo
- isContinued() - Method in interface org.jenkinsci.plugins.durabletask.executors.ContinuedTask
-
True if the task should actually be consider continued now.
- isLoadProfile() - Method in class org.jenkinsci.plugins.durabletask.PowershellScript
L
- launch(EnvVars, FilePath, Launcher, TaskListener) - Method in class org.jenkinsci.plugins.durabletask.DurableTask
-
Launches a durable task.
- launch(EnvVars, FilePath, Launcher, TaskListener) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- launchWithCookie(FilePath, Launcher, TaskListener, EnvVars, String, String) - Method in class org.jenkinsci.plugins.durabletask.BourneShellScript
- launchWithCookie(FilePath, Launcher, TaskListener, EnvVars, String, String) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
- LINUX - Enum constant in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
M
- Messages - Class in org.jenkinsci.plugins.durabletask.executors
-
Generated localization support class.
- Messages - Class in org.jenkinsci.plugins.durabletask
-
Generated localization support class.
- Messages() - Constructor for class org.jenkinsci.plugins.durabletask.executors.Messages
- Messages() - Constructor for class org.jenkinsci.plugins.durabletask.Messages
O
- OnceRetentionStrategy - Class in org.jenkinsci.plugins.durabletask.executors
-
Retention strategy that allows a cloud slave to run only a single build before disconnecting.
- OnceRetentionStrategy(int) - Constructor for class org.jenkinsci.plugins.durabletask.executors.OnceRetentionStrategy
-
Creates the retention strategy.
- org.jenkinsci.plugins.durabletask - package org.jenkinsci.plugins.durabletask
- org.jenkinsci.plugins.durabletask.executors - package org.jenkinsci.plugins.durabletask.executors
- output(InputStream) - Method in class org.jenkinsci.plugins.durabletask.Handler
-
Notification that new process output is available.
P
- PowershellScript - Class in org.jenkinsci.plugins.durabletask
-
Runs a Powershell script
- PowershellScript(String) - Constructor for class org.jenkinsci.plugins.durabletask.PowershellScript
- PowershellScript_powershell() - Static method in class org.jenkinsci.plugins.durabletask.Messages
-
Key
PowershellScript.powershell
:PowerShell script
. - PowershellScript.DescriptorImpl - Class in org.jenkinsci.plugins.durabletask
R
- requestBinary(FilePath, AgentInfo, FilePath, FileMonitoringTask.FileMonitoringController) - Static method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
-
Returns path of binary on agent.
- requestBinary(FilePath, FileMonitoringTask.FileMonitoringController) - Static method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask
-
Returns path of binary on agent.
S
- Scheduler() - Constructor for class org.jenkinsci.plugins.durabletask.executors.ContinuedTask.Scheduler
- setBinaryAvailability(boolean) - Method in class org.jenkinsci.plugins.durabletask.AgentInfo
- setLoadProfile(boolean) - Method in class org.jenkinsci.plugins.durabletask.PowershellScript
- setPowershellBinary(String) - Method in class org.jenkinsci.plugins.durabletask.PowershellScript
- start(AbstractCloudComputer) - Method in class org.jenkinsci.plugins.durabletask.executors.OnceRetentionStrategy
- stop(FilePath) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Deprecated.use
Controller.stop(FilePath, Launcher)
instead - stop(FilePath, Launcher) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Tries to stop any running task.
- stop(FilePath, Launcher) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
T
- taskAccepted(Executor, Queue.Task) - Method in class org.jenkinsci.plugins.durabletask.executors.OnceRetentionStrategy
- taskCompleted(Executor, Queue.Task, long) - Method in class org.jenkinsci.plugins.durabletask.executors.OnceRetentionStrategy
- taskCompletedWithProblems(Executor, Queue.Task, long, Throwable) - Method in class org.jenkinsci.plugins.durabletask.executors.OnceRetentionStrategy
U
- UNKNOWN - Enum constant in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
- USE_BINARY_WRAPPER - Static variable in class org.jenkinsci.plugins.durabletask.BourneShellScript
- USE_BINARY_WRAPPER - Static variable in class org.jenkinsci.plugins.durabletask.PowershellScript
- USE_BINARY_WRAPPER - Static variable in class org.jenkinsci.plugins.durabletask.WindowsBatchScript
V
- valueOf(String) - Static method in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- watch(FilePath, Handler, TaskListener) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Begins watching the process asynchronously, so that the master may receive notification when output is available or the process has exited.
- watch(FilePath, Handler, TaskListener) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
- willContinue() - Method in interface org.jenkinsci.plugins.durabletask.executors.ContinuableExecutable
-
Determines whether a continuation of this executable is currently expected.
- WINDOWS - Enum constant in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
- WindowsBatchScript - Class in org.jenkinsci.plugins.durabletask
-
Runs a Windows batch script.
- WindowsBatchScript(String) - Constructor for class org.jenkinsci.plugins.durabletask.WindowsBatchScript
- WindowsBatchScript_windows_batch() - Static method in class org.jenkinsci.plugins.durabletask.Messages
-
Key
WindowsBatchScript.windows_batch
:Windows batch
. - WindowsBatchScript.DescriptorImpl - Class in org.jenkinsci.plugins.durabletask
- writeLog(FilePath, OutputStream) - Method in class org.jenkinsci.plugins.durabletask.Controller
-
Obtains any new task log output.
- writeLog(FilePath, OutputStream) - Method in class org.jenkinsci.plugins.durabletask.FileMonitoringTask.FileMonitoringController
Z
- ZOS - Enum constant in enum org.jenkinsci.plugins.durabletask.AgentInfo.OsType
_
- _BourneShellScript_bourne_shell() - Static method in class org.jenkinsci.plugins.durabletask.Messages
-
Key
BourneShellScript.bourne_shell
:Bourne shell
. - _ContinuedTask__should_be_allowed_to_run_first(Object) - Static method in class org.jenkinsci.plugins.durabletask.executors.Messages
-
Key
ContinuedTask._should_be_allowed_to_run_first
:{0} should be allowed to run first
. - _PowershellScript_powershell() - Static method in class org.jenkinsci.plugins.durabletask.Messages
-
Key
PowershellScript.powershell
:PowerShell script
. - _WindowsBatchScript_windows_batch() - Static method in class org.jenkinsci.plugins.durabletask.Messages
-
Key
WindowsBatchScript.windows_batch
:Windows batch
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Controller.exitStatus(FilePath, Launcher, TaskListener)
instead