Package ext.api.centrallog.model
Class ProcessLogEvent
- java.lang.Object
-
- ext.api.centrallog.model.ProcessLogEvent
-
- Direct Known Subclasses:
ActivityEvent,IncidentEvent,MessageEvent
public class ProcessLogEvent extends Object
The type Process log event.
-
-
Constructor Summary
Constructors Constructor Description ProcessLogEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessLogEventcorrelationId(String correlationId)Correlation id process log event.booleanequals(Object o)ProcessLogEventeventTime(Date eventTime)Event time process log event.ProcessLogEventexecutionId(String executionId)Execution id process log event.StringgetCorrelationId()Gets correlation id.DategetEventTime()Gets event time.StringgetExecutionId()Gets execution id.Map<String,Object>getMetadata()Gets metadata.EventTypegetProcessEventType()Gets process event type.StringgetProcessId()Gets process id.StringgetProcessInstanceId()Gets process instance id.inthashCode()ProcessLogEventmetadata(Map<String,Object> metadata)Metadata process log event.ProcessLogEventprocessEventType(EventType processEventType)Process event type process log event.ProcessLogEventprocessId(String processId)Process id process log event.ProcessLogEventprocessInstanceId(String processInstanceId)Process instance id process log event.voidsetCorrelationId(String correlationId)Sets correlation id.voidsetEventTime(Date eventTime)Sets event time.voidsetExecutionId(String executionId)Sets execution id.voidsetMetadata(Map<String,Object> metadata)Sets metadata.voidsetProcessEventType(EventType processEventType)Sets process event type.voidsetProcessId(String processId)Sets process id.voidsetProcessInstanceId(String processInstanceId)Sets process instance id.protected StringtoIndentedString(Object o)Convert the given object to string with each line indented by 4 spaces (except the first line).protected StringtoIndentedString(Object o, boolean trim)Convert the given object to string with each line indented by 4 spaces (except the first line).StringtoPrettyString()To pretty string string.StringtoString()
-
-
-
Method Detail
-
correlationId
public ProcessLogEvent correlationId(String correlationId)
Correlation id process log event.- Parameters:
correlationId- the correlation id- Returns:
- the process log event
-
getCorrelationId
public String getCorrelationId()
Gets correlation id.- Returns:
- the correlation id
-
setCorrelationId
public void setCorrelationId(String correlationId)
Sets correlation id.- Parameters:
correlationId- the correlation id
-
eventTime
public ProcessLogEvent eventTime(Date eventTime)
Event time process log event.- Parameters:
eventTime- the event time- Returns:
- the process log event
-
getEventTime
public Date getEventTime()
Gets event time.- Returns:
- the event time
-
setEventTime
public void setEventTime(Date eventTime)
Sets event time.- Parameters:
eventTime- the event time
-
processEventType
public ProcessLogEvent processEventType(EventType processEventType)
Process event type process log event.- Parameters:
processEventType- the process event type- Returns:
- the process log event
-
getProcessEventType
public EventType getProcessEventType()
Gets process event type.- Returns:
- the process event type
-
setProcessEventType
public void setProcessEventType(EventType processEventType)
Sets process event type.- Parameters:
processEventType- the process event type
-
processInstanceId
public ProcessLogEvent processInstanceId(String processInstanceId)
Process instance id process log event.- Parameters:
processInstanceId- the process instance id- Returns:
- the process log event
-
getProcessInstanceId
public String getProcessInstanceId()
Gets process instance id.- Returns:
- the process instance id
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
Sets process instance id.- Parameters:
processInstanceId- the process instance id
-
processId
public ProcessLogEvent processId(String processId)
Process id process log event.- Parameters:
processId- the process id- Returns:
- the process log event
-
getProcessId
public String getProcessId()
Gets process id.- Returns:
- the process id
-
setProcessId
public void setProcessId(String processId)
Sets process id.- Parameters:
processId- the process id
-
metadata
public ProcessLogEvent metadata(Map<String,Object> metadata)
Metadata process log event.- Parameters:
metadata- the metadata- Returns:
- the process log event
-
setMetadata
public void setMetadata(Map<String,Object> metadata)
Sets metadata.- Parameters:
metadata- the metadata
-
executionId
public ProcessLogEvent executionId(String executionId)
Execution id process log event.- Parameters:
executionId- the execution id- Returns:
- the process log event
-
getExecutionId
public String getExecutionId()
Gets execution id.- Returns:
- the execution id
-
setExecutionId
public void setExecutionId(String executionId)
Sets execution id.- Parameters:
executionId- the execution id
-
toPrettyString
public String toPrettyString()
To pretty string string.- Returns:
- the string
-
toIndentedString
protected String toIndentedString(Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).- Parameters:
o- object to print- Returns:
- object as text
-
-