hudson.model
Class AbstractCIBase
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Node
hudson.model.AbstractCIBase
- All Implemented Interfaces:
- ExtensionPoint, Describable<Node>, DescriptorByNameOwner, ItemGroup<TopLevelItem>, ModelObject, PersistenceRoot, ReconfigurableDescribable<Node>, Saveable, ViewGroup, SearchableModelObject, SearchItem, AccessControlled, OnMaster, org.kohsuke.stapler.StaplerFallback, org.kohsuke.stapler.StaplerProxy
- Direct Known Subclasses:
- Jenkins
public abstract class AbstractCIBase
- extends Node
- implements ItemGroup<TopLevelItem>, org.kohsuke.stapler.StaplerProxy, org.kohsuke.stapler.StaplerFallback, ViewGroup, AccessControlled, DescriptorByNameOwner
Methods inherited from class hudson.model.Node |
canTake, canTake, checkPermission, createComputer, createLauncher, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDescriptor, getDisplayName, getFileSystemProvisioner, getLabelCloud, getLabelString, getMode, getNodeDescription, getNodeProperties, getNodePropertyDescriptors, getNumExecutors, getRootPath, getSearchUrl, getSelfLabel, getWorkspaceFor, hasPermission, isHoldOffLaunchUntilSave, reconfigure, setLabelString, setNodeName, toComputer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kohsuke.stapler.StaplerProxy |
getTarget |
Methods inherited from interface org.kohsuke.stapler.StaplerFallback |
getStaplerFallback |
LOG_STARTUP_PERFORMANCE
public static boolean LOG_STARTUP_PERFORMANCE
AbstractCIBase
public AbstractCIBase()
getNodeName
@Deprecated
public String getNodeName()
- Deprecated.
- If you are calling this on Hudson something is wrong.
- Specified by:
getNodeName
in class Node
- Returns:
- "" if this is master
getUrl
public String getUrl()
- Deprecated. Why are you calling a method that always returns ""?
- Description copied from interface:
ItemGroup
- Returns the path relative to the context root,
like "foo/bar/zot/". Note no leading slash but trailing slash.
- Specified by:
getUrl
in interface ItemGroup<TopLevelItem>
- Specified by:
getUrl
in interface ViewGroup
resetLabel
protected void resetLabel(Label l)
setViewOwner
protected void setViewOwner(View v)
interruptReloadThread
protected void interruptReloadThread()
killComputer
protected void killComputer(Computer c)
getNodes
public abstract List<Node> getNodes()
- Returns all
Node
s in the system, excluding Jenkins
instance itself which
represents the master.
getQueue
public abstract Queue getQueue()
getComputerMap
protected abstract Map<Node,Computer> getComputerMap()
updateComputerList
protected void updateComputerList(boolean automaticSlaveLaunch)
throws IOException
- Updates Computers.
This method tries to reuse existing Computer
objects
so that we won't upset Executor
s running in it.
- Throws:
IOException
Copyright © 2004-2013. All Rights Reserved.