hudson.plugins.batch_task
Class BatchTaskProperty
java.lang.Object
hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
hudson.plugins.batch_task.BatchTaskProperty
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep
public class BatchTaskProperty
- extends hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
Batch tasks added as JobProperty.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from class hudson.model.JobProperty |
owner |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.model.JobProperty |
getProjectAction, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
public static final BatchTaskProperty.DescriptorImpl DESCRIPTOR
BatchTaskProperty
public BatchTaskProperty(BatchTask... tasks)
BatchTaskProperty
public BatchTaskProperty(java.util.Collection<BatchTask> tasks)
setOwner
protected void setOwner(hudson.model.AbstractProject<?,?> owner)
- Overrides:
setOwner in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
getOwner
public hudson.model.AbstractProject<?,?> getOwner()
getTask
public BatchTask getTask(java.lang.String name)
getTasks
public java.util.List<BatchTask> getTasks()
removeTask
public void removeTask(BatchTask t)
throws java.io.IOException
- Throws:
java.io.IOException
findNearestTask
public BatchTask findNearestTask(java.lang.String name)
- Finds the
BatchTask that has the closest name. Used for error diagnostics.
getJobAction
public hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
- Overrides:
getJobAction in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
getDescriptor
public BatchTaskProperty.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.model.JobProperty<?>>- Overrides:
getDescriptor in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
Copyright © 2009. All Rights Reserved.