Package io.jenkins.plugins.specsmonitor
Class RemoteAccessAction
java.lang.Object
io.jenkins.plugins.specsmonitor.RemoteAccessAction
- All Implemented Interfaces:
Action,ModelObject
Adds a "Remote access" page to the computer page of a node with a button that
opens a Remote Desktop session (Windows) or an SSH session (Linux and macOS).
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoRdp(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) Sends an.rdpfile that opens Remote Desktop Connection for a Windows node.Asks the node for its operating system and IP address.
-
Constructor Details
-
RemoteAccessAction
-
-
Method Details
-
getComputer
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getTarget
Asks the node for its operating system and IP address. Returnsnullif the node is offline or does not answer. -
doRdp
public void doRdp(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException Sends an.rdpfile that opens Remote Desktop Connection for a Windows node.- Throws:
IOException
-