Package 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
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.Node
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ConcurrentMap<Node,
Computer> Get the disabled administrative monitorsDeprecated.getNodes()
abstract Queue
getQueue()
getUrl()
Deprecated.Why are you calling a method that always returns ""? You probably want to callJenkins.getRootUrl()
protected void
protected void
protected void
resetLabel
(Label l) void
setDisabledAdministrativeMonitors
(Set<String> disabledAdministrativeMonitors) Set the disabled administrative monitorsprotected void
setViewOwner
(View v) protected void
updateComputerList
(boolean automaticAgentLaunch) Updates Computers.protected void
updateNewComputer
(Node n, boolean automaticAgentLaunch) Methods inherited from class hudson.model.Node
canTake, canTake, createComputer, createLauncher, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getClockDifferenceCallable, getConfigFile, getDescriptor, getDisplayName, getFileSystemProvisioner, getLabelAtomSet, getLabelCloud, getLabelString, getMode, getNodeDescription, getNodeProperties, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getNumExecutors, getRootDir, getRootPath, getSearchUrl, getSelfLabel, getTemporaryOfflineCause, getWorkspaceFor, isAcceptingTasks, isHoldOffLaunchUntilSave, onLoad, reconfigure, reconfigure, save, setLabelString, setNodeName, toComputer
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, getACL, hasAnyPermission, hasPermission, hasPermission, hasPermission2
Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByName
Methods inherited from interface hudson.model.ItemGroup
allItems, allItems, allItems, getAllItems, getAllItems, getAllItems, getFullDisplayName, getFullName, getItem, getItemName, getItems, getItems, getItemsStream, getItemsStream, getRootDirFor, getUrlChildPrefix, onDeleted, onRenamed
Methods inherited from interface hudson.model.ModelObject
getDisplayName
Methods inherited from interface hudson.model.PersistenceRoot
getRootDir
Methods inherited from interface org.kohsuke.stapler.StaplerFallback
getStaplerFallback
Methods inherited from interface org.kohsuke.stapler.StaplerProxy
getTarget
Methods inherited from interface hudson.model.ViewGroup
canDelete, deleteView, getAllViews, getItemGroup, getPrimaryView, getView, getViewActions, getViews, getViewsTabBar, onViewRenamed
-
Field Details
-
LOG_STARTUP_PERFORMANCE
public static boolean LOG_STARTUP_PERFORMANCE
-
-
Constructor Details
-
AbstractCIBase
public AbstractCIBase()
-
-
Method Details
-
getNodeName
Deprecated.Maybe you were trying to callNode.getDisplayName()
.If you are calling this on Hudson something is wrong.- Specified by:
getNodeName
in classNode
- Returns:
- "" if this is master
-
getUrl
Deprecated.Why are you calling a method that always returns ""? You probably want to callJenkins.getRootUrl()
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 interfaceItemGroup<TopLevelItem>
- Specified by:
getUrl
in interfaceViewGroup
-
resetLabel
-
setViewOwner
-
interruptReloadThread
protected void interruptReloadThread() -
killComputer
-
getDisabledAdministrativeMonitors
Get the disabled administrative monitors- Since:
- 2.230
-
setDisabledAdministrativeMonitors
Set the disabled administrative monitors- Since:
- 2.230
-
getNodes
-
getQueue
-
getComputerMap
-
updateNewComputer
-
updateComputerList
protected void updateComputerList(boolean automaticAgentLaunch)
-
Node.getDisplayName()
.