org.jvnet.hudson.plugins.shelveproject
Class ShelveProjectTask

java.lang.Object
  extended by org.jvnet.hudson.plugins.shelveproject.ShelveProjectTask
All Implemented Interfaces:
hudson.model.ModelObject, hudson.model.Queue.FlyweightTask, hudson.model.Queue.Task, hudson.model.Queue.TransientTask, hudson.model.ResourceActivity

public class ShelveProjectTask
extends java.lang.Object
implements hudson.model.Queue.FlyweightTask, hudson.model.Queue.TransientTask


Constructor Summary
ShelveProjectTask(hudson.model.AbstractProject project)
           
 
Method Summary
 void checkAbortPermission()
           
 hudson.model.Queue.Executable createExecutable()
           
 hudson.model.Label getAssignedLabel()
           
 java.lang.String getDisplayName()
           
 long getEstimatedDuration()
           
 java.lang.String getFullDisplayName()
           
 hudson.model.Node getLastBuiltOn()
           
 java.lang.String getName()
           
 hudson.model.ResourceList getResourceList()
           
 java.lang.String getUrl()
           
 java.lang.String getWhyBlocked()
           
 boolean hasAbortPermission()
           
 boolean isBuildBlocked()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShelveProjectTask

public ShelveProjectTask(hudson.model.AbstractProject project)
Method Detail

getAssignedLabel

public hudson.model.Label getAssignedLabel()
Specified by:
getAssignedLabel in interface hudson.model.Queue.Task

getLastBuiltOn

public hudson.model.Node getLastBuiltOn()
Specified by:
getLastBuiltOn in interface hudson.model.Queue.Task

isBuildBlocked

public boolean isBuildBlocked()
Specified by:
isBuildBlocked in interface hudson.model.Queue.Task

getWhyBlocked

public java.lang.String getWhyBlocked()
Specified by:
getWhyBlocked in interface hudson.model.Queue.Task

getName

public java.lang.String getName()
Specified by:
getName in interface hudson.model.Queue.Task

getFullDisplayName

public java.lang.String getFullDisplayName()
Specified by:
getFullDisplayName in interface hudson.model.Queue.Task

getEstimatedDuration

public long getEstimatedDuration()
Specified by:
getEstimatedDuration in interface hudson.model.Queue.Task

createExecutable

public hudson.model.Queue.Executable createExecutable()
                                               throws java.io.IOException
Specified by:
createExecutable in interface hudson.model.Queue.Task
Throws:
java.io.IOException

checkAbortPermission

public void checkAbortPermission()
Specified by:
checkAbortPermission in interface hudson.model.Queue.Task

hasAbortPermission

public boolean hasAbortPermission()
Specified by:
hasAbortPermission in interface hudson.model.Queue.Task

getUrl

public java.lang.String getUrl()
Specified by:
getUrl in interface hudson.model.Queue.Task

getResourceList

public hudson.model.ResourceList getResourceList()
Specified by:
getResourceList in interface hudson.model.ResourceActivity

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.ModelObject
Specified by:
getDisplayName in interface hudson.model.ResourceActivity


Copyright © 2010. All Rights Reserved.