Package jenkins.slaves.systemInfo
Class SlaveSystemInfo
- java.lang.Object
-
- jenkins.slaves.systemInfo.SlaveSystemInfo
-
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
ClassLoaderStatisticsSlaveInfo
,EnvVarsSlaveInfo
,SystemPropertySlaveInfo
,ThreadDumpSlaveInfo
public abstract class SlaveSystemInfo extends Object implements ExtensionPoint
Extension point that contributes to the system information page ofComputer
.Views
Subtypes must havesystemInfo.groovy/.jelly
view. This view will have the "it" variable that refers toComputer
object, and "instance" variable that refers toSlaveSystemInfo
object.- Since:
- 1.559
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SlaveSystemInfo()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionList<SlaveSystemInfo>
all()
abstract String
getDisplayName()
Human readable name of this statistics.Permission
getRequiredPermission()
Returns the permission required for user to see this system info extension on the "System Information" page for the Agent By defaultComputer.CONNECT
, butComputer.EXTENDED_READ
is also supported.
-
-
-
Method Detail
-
getDisplayName
public abstract String getDisplayName()
Human readable name of this statistics.
-
all
public static ExtensionList<SlaveSystemInfo> all()
-
getRequiredPermission
public Permission getRequiredPermission()
Returns the permission required for user to see this system info extension on the "System Information" page for the Agent By defaultComputer.CONNECT
, butComputer.EXTENDED_READ
is also supported.- Returns:
- the permission required for the extension to be shown on "System Information".
-
-