public abstract class DurableTask extends hudson.model.AbstractDescribableImpl<DurableTask> implements hudson.ExtensionPoint
config.jelly for form data binding.| Constructor and Description |
|---|
DurableTask() |
| Modifier and Type | Method and Description |
|---|---|
DurableTaskDescriptor |
getDescriptor() |
abstract Controller |
launch(hudson.EnvVars env,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Launches a durable task.
|
public DurableTaskDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<DurableTask>getDescriptor in class hudson.model.AbstractDescribableImpl<DurableTask>public abstract Controller launch(hudson.EnvVars env, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException, InterruptedException
env - basic environment variables to use during launchworkspace - the workspace to uselauncher - a way to start processeslistener - log output for the buildIOExceptionInterruptedExceptionCopyright © 2004-2015. All Rights Reserved.