hudson.plugins.batch_task
Class BatchRunAction
java.lang.Object
hudson.plugins.batch_task.BatchRunAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject
public final class BatchRunAction
- extends java.lang.Object
- implements hudson.model.Action
Build Action that shows the records of executed tasks.
- Author:
- Kohsuke Kawaguchi
|
Constructor Summary |
BatchRunAction(hudson.model.AbstractBuild<?,?> owner)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
owner
public final hudson.model.AbstractBuild<?,?> owner
records
protected final java.util.List<BatchRun> records
BatchRunAction
public BatchRunAction(hudson.model.AbstractBuild<?,?> owner)
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.Action- Specified by:
getDisplayName in interface hudson.model.ModelObject
getUrlName
public java.lang.String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action
createRecord
protected BatchRun createRecord(BatchTask task)
throws java.io.IOException
- Creates and adds a new reocrd.
- Throws:
java.io.IOException
getRecords
public java.util.List<BatchRun> getRecords()
- Gets run records. Newer ones first.
getRecord
public BatchRun getRecord(int id)
- Returns the record that has the given ID.
getDynamic
public BatchRun getDynamic(java.lang.String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Copyright © 2009. All Rights Reserved.