Class AbstractBuildEvent
- java.lang.Object
-
- io.jenkins.plugins.maplelabs.Events.Data.AbstractEvent
-
- io.jenkins.plugins.maplelabs.Events.Data.AbstractBuildEvent
-
- All Implemented Interfaces:
IEvent
- Direct Known Subclasses:
BuildEventCollectorImpl
public abstract class AbstractBuildEvent extends AbstractEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.jenkins.plugins.maplelabs.Events.interfaces.IEvent
IEvent.AlertType, IEvent.Priority
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuildEvent(Run run, TaskListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetBuildNumber()protected StringgetBuildNumber(String value)protected StringgetBuildUrl()protected StringgetBuildUrl(String value)protected LonggetDuration()protected LonggetDuration(Long value)protected LonggetEndTime()protected LonggetEndTime(Long value)protected StringgetHostName()protected StringgetHostName(String value)protected StringgetJobName(String value)protected StringgetParentName()protected StringgetParentName(String defaultValue)protected StringgetResult()protected StringgetResult(String value)protected LonggetStartTime()protected LonggetStartTime(Long value)protected StringgetUserId()protected voidsetBuildNumber(String buildNumber)protected voidsetBuildUrl(String buildUrl)protected voidsetDuration(Long duration)protected voidsetEndTime(Long endTime)protected voidsetHostname(String hostname)protected voidsetJobName(String jobName)protected voidsetParentName(String parentName)protected voidsetResult(String result)protected voidsetStartTime(Long startTime)protected voidsetTime(Run run)This function will set start, duration, end timeprotected voidsetUserId(String userId)-
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
-
-
-
-
Constructor Detail
-
AbstractBuildEvent
protected AbstractBuildEvent(Run run, TaskListener listener) throws IOException, InterruptedException
- Throws:
IOExceptionInterruptedException
-
-
Method Detail
-
setJobName
protected void setJobName(String jobName)
-
getResult
protected String getResult()
-
setResult
protected void setResult(String result)
-
getHostName
protected String getHostName()
-
setHostname
protected void setHostname(String hostname)
-
getBuildUrl
protected String getBuildUrl()
-
setBuildUrl
protected void setBuildUrl(String buildUrl)
-
getBuildNumber
protected String getBuildNumber()
-
setBuildNumber
protected void setBuildNumber(String buildNumber)
-
getDuration
protected Long getDuration()
-
setDuration
protected void setDuration(Long duration)
-
getEndTime
protected Long getEndTime()
-
setEndTime
protected void setEndTime(Long endTime)
-
getStartTime
protected Long getStartTime()
-
setStartTime
protected void setStartTime(Long startTime)
-
getUserId
protected String getUserId()
-
setUserId
protected void setUserId(String userId)
-
setParentName
protected void setParentName(String parentName)
-
getParentName
protected String getParentName()
-
setTime
protected void setTime(Run run)
This function will set start, duration, end time- Parameters:
run-
-
-