Class AbstractDatadogEvent
- java.lang.Object
-
- org.datadog.jenkins.plugins.datadog.events.AbstractDatadogEvent
-
- All Implemented Interfaces:
DatadogEvent
- Direct Known Subclasses:
AbstractDatadogBuildEvent,AbstractDatadogSimpleEvent
public abstract class AbstractDatadogEvent extends Object implements DatadogEvent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.datadog.jenkins.plugins.datadog.DatadogEvent
DatadogEvent.AlertType, DatadogEvent.Priority
-
-
Field Summary
-
Fields inherited from interface org.datadog.jenkins.plugins.datadog.DatadogEvent
DEFAULT_EVENT_TYPE, SECURITY_EVENT_TYPE, SYSTEM_EVENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description AbstractDatadogEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAggregationKey()DatadogEvent.AlertTypegetAlertType()LonggetDate()StringgetHost()StringgetJenkinsUrl()protected StringgetLocationDetails()DatadogEvent.PrioritygetPriority()Map<String,Set<String>>getTags()StringgetText()StringgetTitle()voidsetAggregationKey(String aggregationKey)voidsetAlertType(DatadogEvent.AlertType alertType)voidsetDate(Long date)voidsetHost(String host)voidsetJenkinsUrl(String jenkinsUrl)voidsetPriority(DatadogEvent.Priority priority)voidsetTags(Map<String,Set<String>> tags)voidsetText(String text)voidsetTitle(String title)
-
-
-
Method Detail
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceDatadogEvent
-
setTitle
public void setTitle(String title)
-
getText
public String getText()
- Specified by:
getTextin interfaceDatadogEvent
-
setText
public void setText(String text)
-
getJenkinsUrl
public String getJenkinsUrl()
- Specified by:
getJenkinsUrlin interfaceDatadogEvent
-
setJenkinsUrl
public void setJenkinsUrl(String jenkinsUrl)
-
getHost
public String getHost()
- Specified by:
getHostin interfaceDatadogEvent
-
setHost
public void setHost(String host)
-
getPriority
public DatadogEvent.Priority getPriority()
- Specified by:
getPriorityin interfaceDatadogEvent
-
setPriority
public void setPriority(DatadogEvent.Priority priority)
-
getAlertType
public DatadogEvent.AlertType getAlertType()
- Specified by:
getAlertTypein interfaceDatadogEvent
-
setAlertType
public void setAlertType(DatadogEvent.AlertType alertType)
-
getAggregationKey
public String getAggregationKey()
- Specified by:
getAggregationKeyin interfaceDatadogEvent
-
setAggregationKey
public void setAggregationKey(String aggregationKey)
-
getDate
public Long getDate()
- Specified by:
getDatein interfaceDatadogEvent
-
setDate
public void setDate(Long date)
-
getLocationDetails
protected String getLocationDetails()
-
-