Class NodeExecutors
java.lang.Object
com.cloudbees.jenkins.support.api.Component
com.cloudbees.jenkins.support.api.ObjectComponent<Computer>
com.cloudbees.jenkins.support.impl.NodeExecutors
- All Implemented Interfaces:
ExtensionPoint
,Describable<ObjectComponent<Computer>>
Gather information about the node executors.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.jenkins.support.api.Component
Component.ComponentCategory
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContents
(Container container) Add contents to a containervoid
addContents
(Container container, Computer computer) Add contents from a specific item to a containerSpecify in whichComponent.ComponentCategory
the current component is related.Returns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.boolean
isApplicable
(Computer item) Return if this component is applicable to a specific item.<C extends AbstractModelObject>
booleanisApplicable
(Class<C> clazz) Return if this component is applicable to a specific class of item.boolean
Methods inherited from class com.cloudbees.jenkins.support.api.ObjectComponent
allInstances, for_, isSelectedByDefault
Methods inherited from class com.cloudbees.jenkins.support.api.Component
getDisplayPermissions, getId, isEnabled, start
-
Constructor Details
-
NodeExecutors
@DataBoundConstructor public NodeExecutors()
-
-
Method Details
-
getRequiredPermissions
Description copied from class:Component
Returns the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle. An empty list indicates that any user can include this bundle.- Specified by:
getRequiredPermissions
in classComponent
- Returns:
- the (possibly empty, never null) list of permissions that are required for the user to include this in a bundle.
-
getDisplayName
- Specified by:
getDisplayName
in classComponent
-
addContents
Description copied from class:ObjectComponent
Add contents to a container- Overrides:
addContents
in classObjectComponent<Computer>
- Parameters:
container
- aContainer
-
addContents
Description copied from class:ObjectComponent
Add contents from a specific item to a container- Specified by:
addContents
in classObjectComponent<Computer>
- Parameters:
container
- theContainer
computer
- the item
-
getCategory
Description copied from class:Component
Specify in whichComponent.ComponentCategory
the current component is related.- Overrides:
getCategory
in classComponent
- Returns:
- An enum value of
Component.ComponentCategory
.
-
isSelectedByDefault
public boolean isSelectedByDefault()- Overrides:
isSelectedByDefault
in classComponent
-
isApplicable
Description copied from class:ObjectComponent
Return if this component is applicable to a specific class of item.- Overrides:
isApplicable
in classObjectComponent<Computer>
- Type Parameters:
C
- Object that extendsAbstractModelObject
- Parameters:
clazz
- the class- Returns:
true
if applicable to this class
-
isApplicable
Description copied from class:ObjectComponent
Return if this component is applicable to a specific item.- Overrides:
isApplicable
in classObjectComponent<Computer>
- Parameters:
item
- the item- Returns:
- true if applicable
-
getDescriptor
Description copied from class:ObjectComponent
- Specified by:
getDescriptor
in interfaceDescribable<ObjectComponent<Computer>>
- Overrides:
getDescriptor
in classObjectComponent<Computer>
-