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 ClassesNested classes/interfaces inherited from class com.cloudbees.jenkins.support.api.Component
Component.ComponentCategoryNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContents(Container container) Add contents to a containervoidaddContents(Container container, Computer computer) Add contents from a specific item to a containerSpecify in whichComponent.ComponentCategorythe 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.booleanisApplicable(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.booleanMethods inherited from class com.cloudbees.jenkins.support.api.ObjectComponent
allInstances, for_, isSelectedByDefaultMethods inherited from class com.cloudbees.jenkins.support.api.Component
canBeGeneratedAsync, getDisplayPermissions, getId, isEnabled, start, supersedes
-
Constructor Details
-
NodeExecutors
@DataBoundConstructor public NodeExecutors()
-
-
Method Details
-
getRequiredPermissions
Description copied from class:ComponentReturns 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:
getRequiredPermissionsin 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:
getDisplayNamein classComponent
-
addContents
Description copied from class:ObjectComponentAdd contents to a container- Overrides:
addContentsin classObjectComponent<Computer>- Parameters:
container- aContainer
-
addContents
Description copied from class:ObjectComponentAdd contents from a specific item to a container- Specified by:
addContentsin classObjectComponent<Computer>- Parameters:
container- theContainercomputer- the item
-
getCategory
Description copied from class:ComponentSpecify in whichComponent.ComponentCategorythe current component is related.- Overrides:
getCategoryin classComponent- Returns:
- An enum value of
Component.ComponentCategory.
-
isSelectedByDefault
public boolean isSelectedByDefault()- Overrides:
isSelectedByDefaultin classComponent
-
isApplicable
Description copied from class:ObjectComponentReturn if this component is applicable to a specific class of item.- Overrides:
isApplicablein classObjectComponent<Computer>- Type Parameters:
C- Object that extendsAbstractModelObject- Parameters:
clazz- the class- Returns:
trueif applicable to this class
-
isApplicable
Description copied from class:ObjectComponentReturn if this component is applicable to a specific item.- Overrides:
isApplicablein classObjectComponent<Computer>- Parameters:
item- the item- Returns:
- true if applicable
-
getDescriptor
Description copied from class:ObjectComponent- Specified by:
getDescriptorin interfaceDescribable<ObjectComponent<Computer>>- Overrides:
getDescriptorin classObjectComponent<Computer>
-