Package io.jenkins.plugins.onmonit.exec
Class ExecRemoteNodeExporterProcess
java.lang.Object
io.jenkins.plugins.onmonit.exec.ExecRemoteNodeExporterProcess
- All Implemented Interfaces:
RemoteNodeExporterProcess
,RemoteProcess
- Direct Known Subclasses:
ExecDownloadedNodeExporterProcess
,ExecUploadedNodeExporterProcess
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected final ComputerInfo
protected final LauncherProvider
protected final TaskListener
static final String
protected final FilePath
-
Method Summary
Modifier and TypeMethodDescriptionprotected FilePath
protected ArgumentListBuilder
getCmd()
void
start
(TaskListener listener, int port) Starts the process.void
stop
(TaskListener listener) Stops the process.
-
Field Details
-
PROC_COOKIE_NAME
- See Also:
-
launcherProvider
-
listener
-
info
-
temp
-
debug
protected final boolean debug
-
-
Method Details
-
start
Starts the process.- Specified by:
start
in interfaceRemoteNodeExporterProcess
- Parameters:
listener
- for logging.port
- the port on which the node_exporter process should listen on- Throws:
IOException
InterruptedException
-
getCmd
- Throws:
IOException
InterruptedException
-
createTempExecutableFile
- Throws:
IOException
InterruptedException
-
stop
Stops the process.- Specified by:
stop
in interfaceRemoteProcess
- Parameters:
listener
- for logging.- Throws:
IOException
InterruptedException
-