hudson.plugins.slave_squatter
Class ReservationTask

java.lang.Object
  extended by hudson.model.queue.AbstractQueueTask
      extended by hudson.plugins.slave_squatter.ReservationTask
All Implemented Interfaces:
hudson.model.ModelObject, hudson.model.queue.SubTask, hudson.model.Queue.Task, hudson.model.Queue.TransientTask, hudson.model.ResourceActivity

public class ReservationTask
extends hudson.model.queue.AbstractQueueTask
implements hudson.model.Queue.TransientTask

Author:
Kohsuke Kawaguchi

Constructor Summary
ReservationTask(hudson.model.Node node)
           
 
Method Summary
 void checkAbortPermission()
           
 hudson.model.Queue.Executable createExecutable()
           
 hudson.model.Label getAssignedLabel()
           
 hudson.model.queue.CauseOfBlockage getCauseOfBlockage()
           
 String getDisplayName()
           
 long getEstimatedDuration()
           
 String getFullDisplayName()
           
 hudson.model.Node getLastBuiltOn()
           
 String getName()
           
 hudson.model.ResourceList getResourceList()
           
 Object getSameNodeConstraint()
           
 String getUrl()
           
 String getWhyBlocked()
           
 boolean hasAbortPermission()
           
 boolean isBuildBlocked()
           
 boolean isConcurrentBuild()
           
 
Methods inherited from class hudson.model.queue.AbstractQueueTask
getOwnerTask, getSubTasks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.model.Queue.Task
getSubTasks
 
Methods inherited from interface hudson.model.queue.SubTask
getOwnerTask
 

Constructor Detail

ReservationTask

public ReservationTask(hudson.model.Node node)
Method Detail

isBuildBlocked

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

getWhyBlocked

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

getCauseOfBlockage

public hudson.model.queue.CauseOfBlockage getCauseOfBlockage()
Specified by:
getCauseOfBlockage in interface hudson.model.Queue.Task

getName

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

getFullDisplayName

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

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 String getUrl()
Specified by:
getUrl in interface hudson.model.Queue.Task

isConcurrentBuild

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

getDisplayName

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

getAssignedLabel

public hudson.model.Label getAssignedLabel()
Specified by:
getAssignedLabel in interface hudson.model.queue.SubTask

getLastBuiltOn

public hudson.model.Node getLastBuiltOn()
Specified by:
getLastBuiltOn in interface hudson.model.queue.SubTask

getEstimatedDuration

public long getEstimatedDuration()
Specified by:
getEstimatedDuration in interface hudson.model.queue.SubTask

createExecutable

public hudson.model.Queue.Executable createExecutable()
                                               throws IOException
Specified by:
createExecutable in interface hudson.model.queue.SubTask
Throws:
IOException

getSameNodeConstraint

public Object getSameNodeConstraint()
Specified by:
getSameNodeConstraint in interface hudson.model.queue.SubTask

getResourceList

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


Copyright © 2004-2011. All Rights Reserved.