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 String
getAggregationKey()
DatadogEvent.AlertType
getAlertType()
Long
getDate()
String
getHost()
String
getJenkinsUrl()
protected String
getLocationDetails()
DatadogEvent.Priority
getPriority()
Map<String,Set<String>>
getTags()
String
getText()
String
getTitle()
void
setAggregationKey(String aggregationKey)
void
setAlertType(DatadogEvent.AlertType alertType)
void
setDate(Long date)
void
setHost(String host)
void
setJenkinsUrl(String jenkinsUrl)
void
setPriority(DatadogEvent.Priority priority)
void
setTags(Map<String,Set<String>> tags)
void
setText(String text)
void
setTitle(String title)
-
-
-
Method Detail
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceDatadogEvent
-
setTitle
public void setTitle(String title)
-
getText
public String getText()
- Specified by:
getText
in interfaceDatadogEvent
-
setText
public void setText(String text)
-
getJenkinsUrl
public String getJenkinsUrl()
- Specified by:
getJenkinsUrl
in interfaceDatadogEvent
-
setJenkinsUrl
public void setJenkinsUrl(String jenkinsUrl)
-
getHost
public String getHost()
- Specified by:
getHost
in interfaceDatadogEvent
-
setHost
public void setHost(String host)
-
getPriority
public DatadogEvent.Priority getPriority()
- Specified by:
getPriority
in interfaceDatadogEvent
-
setPriority
public void setPriority(DatadogEvent.Priority priority)
-
getAlertType
public DatadogEvent.AlertType getAlertType()
- Specified by:
getAlertType
in interfaceDatadogEvent
-
setAlertType
public void setAlertType(DatadogEvent.AlertType alertType)
-
getAggregationKey
public String getAggregationKey()
- Specified by:
getAggregationKey
in interfaceDatadogEvent
-
setAggregationKey
public void setAggregationKey(String aggregationKey)
-
getDate
public Long getDate()
- Specified by:
getDate
in interfaceDatadogEvent
-
setDate
public void setDate(Long date)
-
getLocationDetails
protected String getLocationDetails()
-
-