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 ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class com.cloudbees.jenkins.support.impl.JVMProcessSystemMetricsContents
JVMProcessSystemMetricsContents.Agents, JVMProcessSystemMetricsContents.MasterNested classes/interfaces inherited from class com.cloudbees.jenkins.support.impl.AdvancedProcFilesRetriever
AdvancedProcFilesRetriever.ProcFileNested 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 TypeMethodDescriptiongetId()Returns the component id.getNodes()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.Methods inherited from class com.cloudbees.jenkins.support.impl.JVMProcessSystemMetricsContents
getProcFilesToRetrieveMethods inherited from class com.cloudbees.jenkins.support.impl.AdvancedProcFilesRetriever
addUnixContents, getCategory, getFilesToRetrieveMethods inherited from class com.cloudbees.jenkins.support.impl.ProcFilesRetriever
addContents, addContents, afterAddUnixContents, getNodeName, getRequiredPermissions, getSystemPlatformMethods inherited from class com.cloudbees.jenkins.support.api.ObjectComponent
allInstances, for_, isSelectedByDefaultMethods inherited from class com.cloudbees.jenkins.support.api.Component
canBeGeneratedAsync, getDisplayPermissions, isEnabled, isSelectedByDefault, start, supersedes
-
Constructor Details
-
Master
@DataBoundConstructor public Master()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classComponent
-
getNodes
- Overrides:
getNodesin classProcFilesRetriever
-
isApplicable
Description copied from class:ObjectComponentReturn if this component is applicable to a specific class of item.- Overrides:
isApplicablein classProcFilesRetriever- 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>
-
getId
Description copied from class:ComponentReturns the component id.- Overrides:
getIdin classComponent- Returns:
- by default, the
Class.getSimpleName()of the component implementation.
-