Class BuildEventCollectorImpl
- java.lang.Object
-
- io.jenkins.plugins.maplelabs.Events.Data.AbstractEvent
-
- io.jenkins.plugins.maplelabs.Events.Data.AbstractBuildEvent
-
- io.jenkins.plugins.maplelabs.Events.Collector.BuildEventCollectorImpl
-
- All Implemented Interfaces:
IBuildEvent
,IEvent
public class BuildEventCollectorImpl extends AbstractBuildEvent implements IBuildEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IBuildEvent
IBuildEvent.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.IBuildEvent
EVENT, HOUR, MINUTE
-
-
Constructor Summary
Constructors Constructor Description BuildEventCollectorImpl(Run run, TaskListener listener)
Create Build details
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectEventData(IBuildEvent.Type type)
This function will handle Start and completion of a job-
Methods inherited from class io.jenkins.plugins.maplelabs.Events.Data.AbstractBuildEvent
getBuildNumber, getBuildNumber, getBuildUrl, getBuildUrl, getDuration, getDuration, getEndTime, getEndTime, getHostName, getHostName, getJobName, getParentName, getParentName, getResult, getResult, getStartTime, getStartTime, getUserId, setBuildNumber, setBuildUrl, setDuration, setEndTime, setHostname, setJobName, setParentName, setResult, setStartTime, setTime, setUserId
-
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
-
-
-
-
Constructor Detail
-
BuildEventCollectorImpl
public BuildEventCollectorImpl(Run run, TaskListener listener) throws IOException, InterruptedException
Create Build details- Throws:
IOException
InterruptedException
-
-
Method Detail
-
collectEventData
public void collectEventData(IBuildEvent.Type type)
This function will handle Start and completion of a job- Specified by:
collectEventData
in interfaceIBuildEvent
-
-