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 class hudson.model.Node
Node.InternalComputerListener, Node.Mode
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
LOG_STARTUP_PERFORMANCE
-
Fields inherited from class hudson.model.Node
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS
-
-
Constructor Summary
Constructors Constructor Description AbstractCIBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract ConcurrentMap<Node,Computer>
getComputerMap()
Set<String>
getDisabledAdministrativeMonitors()
Get the disabled administrative monitorsString
getNodeName()
Deprecated.Maybe you were trying to callNode.getDisplayName()
.abstract List<Node>
getNodes()
abstract Queue
getQueue()
String
getUrl()
Deprecated.Why are you calling a method that always returns ""? You probably want to callJenkins.getRootUrl()
protected void
interruptReloadThread()
protected void
killComputer(Computer c)
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, getDescriptor, getDisplayName, getFileSystemProvisioner, getLabelCloud, getLabelString, getMode, getNodeDescription, getNodeProperties, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getNumExecutors, getRootPath, getSearchUrl, getSelfLabel, getTemporaryOfflineCause, getWorkspaceFor, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, setLabelString, setNodeName, toComputer
-
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, 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, 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 hudson.model.ViewGroup
canDelete, deleteView, getAllViews, getItemGroup, getPrimaryView, getView, getViewActions, getViews, getViewsTabBar, onViewRenamed
-
-
-
-
Method Detail
-
getNodeName
@NonNull @Deprecated public String 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 public String 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
protected void resetLabel(Label l)
-
setViewOwner
protected void setViewOwner(View v)
-
interruptReloadThread
protected void interruptReloadThread()
-
killComputer
protected void killComputer(Computer c)
-
getDisabledAdministrativeMonitors
public Set<String> getDisabledAdministrativeMonitors()
Get the disabled administrative monitors- Since:
- 2.230
-
setDisabledAdministrativeMonitors
public void setDisabledAdministrativeMonitors(Set<String> disabledAdministrativeMonitors)
Set the disabled administrative monitors- Since:
- 2.230
-
getQueue
public abstract Queue getQueue()
-
getComputerMap
protected abstract ConcurrentMap<Node,Computer> getComputerMap()
-
updateNewComputer
protected void updateNewComputer(Node n, boolean automaticAgentLaunch)
-
updateComputerList
protected void updateComputerList(boolean automaticAgentLaunch)
-
-