Package com.splunk.splunkjenkins.model
Class EventRecord
java.lang.Object
com.splunk.splunkjenkins.model.EventRecord
-
Constructor Details
-
EventRecord
-
-
Method Details
-
increase
public void increase() -
isDiscarded
public boolean isDiscarded() -
getTime
public long getTime() -
setTime
public void setTime(long time) -
getMessage
-
getMessageString
-
getShortDescription
- Returns:
- short message, to be showed in debug message
-
getTimestamp
-
getSource
-
setSource
-
getEventType
- Returns:
- the event type
-
getRawEndpoint
- Parameters:
config
- the Splunk config which contains metadata information- Returns:
- the http event collector endpoint
-
toMap
- Parameters:
config
- the Splunk config which contains metadata information- Returns:
- a Map object can be used for json serialization
-
isFailed
public boolean isFailed()
-