Class SystemConfiguration
- 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.SystemConfiguration
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ObjectComponent<Computer>>
- Direct Known Subclasses:
SystemConfiguration.Agents
,SystemConfiguration.Master
public abstract class SystemConfiguration extends AdvancedProcFilesRetriever
System configuration data (CPU information, swap configuration, mount points, kernel messages and entropy)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SystemConfiguration.Agents
static class
SystemConfiguration.GetDmiInfo
static class
SystemConfiguration.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 SystemConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterAddUnixContents(Container container, Node node, String name)
Override this method if you want to hook some code afterProcFilesRetriever.addUnixContents(Container, Node)
.String
getDmiInfo(Node node)
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, 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
-
afterAddUnixContents
protected void afterAddUnixContents(@NonNull Container container, @NonNull Node node, String name)
Description copied from class:ProcFilesRetriever
Override this method if you want to hook some code afterProcFilesRetriever.addUnixContents(Container, Node)
.- Overrides:
afterAddUnixContents
in classProcFilesRetriever
- Parameters:
container
- the supportContainer
.node
- the node for which the method is called.name
- the node name, "master" if Controller, and slave/${nodeName} if an agent.
-
-