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
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final ComputerInfoprotected final LauncherProviderprotected final TaskListenerstatic final Stringprotected final FilePath -
Method Summary
Modifier and TypeMethodDescriptionprotected FilePathprotected ArgumentListBuildergetCmd()voidstart(TaskListener listener, int port) Starts the process.voidstop(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:
startin interfaceRemoteNodeExporterProcess- Parameters:
listener- for logging.port- the port on which the node_exporter process should listen on- Throws:
IOExceptionInterruptedException
-
getCmd
- Throws:
IOExceptionInterruptedException
-
createTempExecutableFile
- Throws:
IOExceptionInterruptedException
-
stop
Stops the process.- Specified by:
stopin interfaceRemoteProcess- Parameters:
listener- for logging.- Throws:
IOExceptionInterruptedException
-