Class JVMProcessSystemMetricsContents
- 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
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ObjectComponent<Computer>>
- Direct Known Subclasses:
JVMProcessSystemMetricsContents.Agents
,JVMProcessSystemMetricsContents.Master
public abstract class JVMProcessSystemMetricsContents extends AdvancedProcFilesRetriever
System metrics of the JVM process. Only supports Unix. We use the advanced retriever to specify which files will be filtered.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JVMProcessSystemMetricsContents.Agents
static class
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 JVMProcessSystemMetricsContents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<AdvancedProcFilesRetriever.ProcFile>
getProcFilesToRetrieve()
The method to define the files to include in the bundle.-
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, getNodes, getRequiredPermissions, getSystemPlatform, isApplicable
-
Methods inherited from class com.cloudbees.jenkins.support.api.ObjectComponent
allInstances, for_, getDescriptor, isApplicable, isSelectedByDefault
-
Methods inherited from class com.cloudbees.jenkins.support.api.Component
getDisplayName, getDisplayPermissions, getId, isEnabled, isSelectedByDefault, start
-
-
-
-
Method Detail
-
getProcFilesToRetrieve
public Set<AdvancedProcFilesRetriever.ProcFile> getProcFilesToRetrieve()
Description copied from class:AdvancedProcFilesRetriever
The method to define the files to include in the bundle. You addAdvancedProcFilesRetriever.ProcFile
to be able to specify file by file whether its content should be filtered or not.- Specified by:
getProcFilesToRetrieve
in classAdvancedProcFilesRetriever
- Returns:
- a set of files to be included in the bundle
-
-