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
Nested Classes Modifier and Type Class Description static class
JVMProcessSystemMetricsContents.Master.DescriptorImpl
-
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
Constructors Constructor Description Master()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JVMProcessSystemMetricsContents.Master.DescriptorImpl
getDescriptor()
String
getDisplayName()
String
getId()
Returns the component id.protected List<Node>
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
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Specified by:
getDisplayName
in classComponent
-
getNodes
protected List<Node> getNodes()
- Overrides:
getNodes
in classProcFilesRetriever
-
isApplicable
public <C extends AbstractModelObject> boolean isApplicable(Class<C> clazz)
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
public boolean isApplicable(Computer item)
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
public JVMProcessSystemMetricsContents.Master.DescriptorImpl getDescriptor()
Description copied from class:ObjectComponent
- Specified by:
getDescriptor
in interfaceDescribable<ObjectComponent<Computer>>
- Overrides:
getDescriptor
in classObjectComponent<Computer>
-
getId
@NonNull public String getId()
Description copied from class:Component
Returns the component id.- Overrides:
getId
in classComponent
- Returns:
- by default, the
Class.getSimpleName()
of the component implementation.
-
-