hudson.plugins.slave_squatter
Class NodePropertyImpl
java.lang.Object
hudson.slaves.NodeProperty<hudson.model.Node>
hudson.plugins.slave_squatter.NodePropertyImpl
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.NodeProperty<?>>
public class NodePropertyImpl
- extends hudson.slaves.NodeProperty<hudson.model.Node>
Records SlaveSquatter
s for the node.
- Author:
- Kohsuke Kawaguchi
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.slaves.NodeProperty |
node |
Methods inherited from class hudson.slaves.NodeProperty |
all, canTake, for_, getDescriptor, setNode, setUp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodePropertyImpl
@DataBoundConstructor
public NodePropertyImpl(List<? extends SlaveSquatter> squatters)
throws IOException
- Throws:
IOException
getSquatters
public hudson.util.DescribableList<SlaveSquatter,SlaveSquatterDescriptor> getSquatters()
sizeOfReservation
public int sizeOfReservation(hudson.model.Computer c,
long timestamp)
timeOfNextChange
public long timeOfNextChange(hudson.model.Computer c,
long timestamp)
Copyright © 2004-2011. All Rights Reserved.