Class LenientOfflineNodeCommand
java.lang.Object
hudson.cli.CLICommand
com.sonymobile.jenkins.plugins.lenientshutdown.cli.LenientOfflineNodeCommand
- All Implemented Interfaces:
ExtensionPoint,Cloneable
Sets a node offline leniently.
Mimicking the
offline-node command- Author:
- <robert.sandell@sonymobile.com>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.cli.CLICommand
ALLOW_AT_SYNTAX, channel, locale, stderr, stdin, stdout -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.cli.CLICommand
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCmdLineParser, getCurrent, getLongDescription, getName, getSingleLineSummary, getTransportAuthentication, getTransportAuthentication2, getUsage, handleException, main, printUsage, printUsageSummary, setClientCharset, setTransportAuth, setTransportAuth2
-
Field Details
-
node
The node to act on.
-
-
Constructor Details
-
LenientOfflineNodeCommand
public LenientOfflineNodeCommand()
-
-
Method Details
-
getShortDescription
- Specified by:
getShortDescriptionin classCLICommand
-
run
- Specified by:
runin classCLICommand- Throws:
Exception
-