Class JVMProcessSystemMetricsContents.Agents
java.lang.Object
com.cloudbees.jenkins.support.api.Component
com.cloudbees.jenkins.support.api.ObjectComponent<Computer>
com.cloudbees.jenkins.support.impl.ProcFilesRetriever
com.cloudbees.jenkins.support.impl.AdvancedProcFilesRetriever
com.cloudbees.jenkins.support.impl.JVMProcessSystemMetricsContents
com.cloudbees.jenkins.support.impl.JVMProcessSystemMetricsContents.Agents
- All Implemented Interfaces:
ExtensionPoint
,Describable<ObjectComponent<Computer>>
- Enclosing class:
- JVMProcessSystemMetricsContents
@Extension
public static class JVMProcessSystemMetricsContents.Agents
extends JVMProcessSystemMetricsContents
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class com.cloudbees.jenkins.support.impl.JVMProcessSystemMetricsContents
JVMProcessSystemMetricsContents.Agents, JVMProcessSystemMetricsContents.Master
Nested classes/interfaces inherited from class com.cloudbees.jenkins.support.impl.AdvancedProcFilesRetriever
AdvancedProcFilesRetriever.ProcFile
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 TypeMethodDescriptionSpecify in whichComponent.ComponentCategory
the current component is related.getId()
Returns the component id.getNodes()
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.impl.JVMProcessSystemMetricsContents
getProcFilesToRetrieve
Methods inherited from class com.cloudbees.jenkins.support.impl.AdvancedProcFilesRetriever
addUnixContents, getFilesToRetrieve
Methods inherited from class com.cloudbees.jenkins.support.impl.ProcFilesRetriever
addContents, addContents, afterAddUnixContents, getNodeName, getRequiredPermissions, getSystemPlatform
Methods inherited from class com.cloudbees.jenkins.support.api.ObjectComponent
allInstances, for_, isSelectedByDefault
Methods inherited from class com.cloudbees.jenkins.support.api.Component
getDisplayPermissions, isEnabled, start
-
Constructor Details
-
Agents
@DataBoundConstructor public Agents()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
in classComponent
-
getCategory
Description copied from class:Component
Specify in whichComponent.ComponentCategory
the current component is related.- Overrides:
getCategory
in classAdvancedProcFilesRetriever
- Returns:
- An enum value of
Component.ComponentCategory
.
-
isSelectedByDefault
public boolean isSelectedByDefault()- Overrides:
isSelectedByDefault
in classComponent
-
getNodes
- Overrides:
getNodes
in classProcFilesRetriever
-
isApplicable
Description copied from class:ObjectComponent
Return if this component is applicable to a specific class of item.- Overrides:
isApplicable
in classProcFilesRetriever
- 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>
-
getId
Description copied from class:Component
Returns the component id.- Overrides:
getId
in classComponent
- Returns:
- by default, the
Class.getSimpleName()
of the component implementation.
-