Class SlaveLaunchLogs
java.lang.Object
com.cloudbees.jenkins.support.api.Component
com.cloudbees.jenkins.support.api.ObjectComponent<Computer>
com.cloudbees.jenkins.support.impl.SlaveLaunchLogs
- All Implemented Interfaces:
ExtensionPoint,Describable<ObjectComponent<Computer>>
Adds agent launch logs, which captures the current and past running connections to the agent.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classNested 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 item) 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.booleanbooleanisSelectedByDefault(Computer item) Control if the component should be selected by default, based on the applicable itemMethods inherited from class com.cloudbees.jenkins.support.api.ObjectComponent
allInstances, for_Methods inherited from class com.cloudbees.jenkins.support.api.Component
canBeGeneratedAsync, getDisplayPermissions, getId, isEnabled, start, supersedes
-
Constructor Details
-
SlaveLaunchLogs
@DataBoundConstructor public SlaveLaunchLogs()
-
-
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
-
getCategory
Description copied from class:ComponentSpecify in whichComponent.ComponentCategorythe current component is related.- Overrides:
getCategoryin classComponent- Returns:
- An enum value of
Component.ComponentCategory.
-
addContents
Description copied from class:ObjectComponentAdd contents from a specific item to a container- Specified by:
addContentsin classObjectComponent<Computer>- Parameters:
container- theContaineritem- the item
-
isSelectedByDefault
public boolean isSelectedByDefault()- Overrides:
isSelectedByDefaultin classComponent
-
isSelectedByDefault
Description copied from class:ObjectComponentControl if the component should be selected by default, based on the applicable item- Overrides:
isSelectedByDefaultin classObjectComponent<Computer>- Parameters:
item- the item- Returns:
- true to select the component by default
-
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>
-