Class JVMProcessSystemMetricsContents.Master
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.Master
- All Implemented Interfaces:
ExtensionPoint
,Describable<ObjectComponent<Computer>>
- Enclosing class:
- JVMProcessSystemMetricsContents
@Extension
public static class JVMProcessSystemMetricsContents.Master
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 TypeMethodDescriptiongetId()
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.Methods inherited from class com.cloudbees.jenkins.support.impl.JVMProcessSystemMetricsContents
getProcFilesToRetrieve
Methods inherited from class com.cloudbees.jenkins.support.impl.AdvancedProcFilesRetriever
addUnixContents, getCategory, 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, isSelectedByDefault, start
-
Constructor Details
-
Master
@DataBoundConstructor public Master()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayName
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.
-