Class JenkinsStatusService
- java.lang.Object
-
- io.jenkins.plugins.propelo.commons.service.JenkinsStatusService
-
public class JenkinsStatusService extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JenkinsStatusService.LoadFileException
-
Constructor Summary
Constructors Constructor Description JenkinsStatusService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JenkinsStatusService
getInstance()
JenkinsStatusInfo
getStatus(File resultFile)
File
loadFile(File inputStatusFile)
void
markDataEvent(File expandedLevelOpsPluginDir, boolean isDataEventSuccess)
void
markHeartbeat(File expandedLevelOpsPluginDir, boolean isHeartbeatSuccess)
-
-
-
Method Detail
-
getInstance
public static JenkinsStatusService getInstance()
-
markDataEvent
public void markDataEvent(File expandedLevelOpsPluginDir, boolean isDataEventSuccess) throws JenkinsStatusService.LoadFileException
-
markHeartbeat
public void markHeartbeat(File expandedLevelOpsPluginDir, boolean isHeartbeatSuccess) throws JenkinsStatusService.LoadFileException
-
getStatus
public JenkinsStatusInfo getStatus(File resultFile)
-
loadFile
@NotNull public File loadFile(File inputStatusFile) throws JenkinsStatusService.LoadFileException
-
-