Class ComputerEventCollectorImpl
- java.lang.Object
-
- io.jenkins.plugins.maplelabs.Events.Data.AbstractEvent
-
- io.jenkins.plugins.maplelabs.Events.Collector.ComputerEventCollectorImpl
-
- All Implemented Interfaces:
IComputerEvent
,IEvent
public class ComputerEventCollectorImpl extends AbstractEvent implements IComputerEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IComputerEvent
IComputerEvent.Type
-
Nested classes/interfaces inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IEvent
IEvent.AlertType, IEvent.Priority
-
-
Field Summary
-
Fields inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IComputerEvent
EVENT
-
-
Constructor Summary
Constructors Constructor Description ComputerEventCollectorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectEventData(Computer computer)
This function will called when temp offline node is backs onlinevoid
collectEventData(Computer computer, TaskListener taskListener)
This function will called when node is failed to launchvoid
collectEventData(Computer computer, OfflineCause cause, IComputerEvent.Type type)
This function will called when node is offline/ temp offline-
Methods inherited from class io.jenkins.plugins.maplelabs.Events.Data.AbstractEvent
getAlert, getAlertType, getDate, getEventType, getHost, getNodeName, getNodeName, getPriority, getText, getTitle, setAlert, setDate, setEventType, setHost, setNodeName, setPriority, setText, setTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IEvent
getAlertType, getDate, getEventType, getHost, getNodeName, getPriority, getText, getTitle
-
-
-
-
Method Detail
-
collectEventData
public void collectEventData(Computer computer)
This function will called when temp offline node is backs online- Specified by:
collectEventData
in interfaceIComputerEvent
-
collectEventData
public void collectEventData(Computer computer, OfflineCause cause, IComputerEvent.Type type)
This function will called when node is offline/ temp offline- Specified by:
collectEventData
in interfaceIComputerEvent
-
collectEventData
public void collectEventData(Computer computer, TaskListener taskListener)
This function will called when node is failed to launch- Specified by:
collectEventData
in interfaceIComputerEvent
-
-