public class GenericSimulationEvent extends Object implements SimulationEvent
| Modifier and Type | Field and Description |
|---|---|
protected AggregatedSimulationEvent |
aggregatedEvent |
protected Map<String,Object> |
customMetrics |
protected long |
endTime |
protected String |
processId |
protected long |
processInstanceId |
protected long |
startTime |
protected String |
type |
protected boolean |
used |
protected UUID |
uuid |
| Constructor and Description |
|---|
GenericSimulationEvent(String processId,
long processInstanceId,
long startTime,
long endTime,
String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomMetric(String name,
Object value) |
AggregatedSimulationEvent |
getAggregatedEvent() |
long |
getEndTime() |
String |
getMetric(String name) |
String |
getProcessId() |
long |
getProcessInstanceId() |
long |
getStartTime() |
String |
getType() |
UUID |
getUUID() |
boolean |
isUsed() |
void |
setAggregatedEvent(AggregatedSimulationEvent aggregatedEvent) |
void |
setUsed(boolean used) |
String |
toString() |
protected String processId
protected long processInstanceId
protected long startTime
protected long endTime
protected UUID uuid
protected String type
protected AggregatedSimulationEvent aggregatedEvent
protected boolean used
public boolean isUsed()
public void setUsed(boolean used)
public AggregatedSimulationEvent getAggregatedEvent()
public void setAggregatedEvent(AggregatedSimulationEvent aggregatedEvent)
public long getStartTime()
getStartTime in interface SimulationEventpublic long getEndTime()
getEndTime in interface SimulationEventpublic String getProcessId()
getProcessId in interface SimulationEventpublic long getProcessInstanceId()
getProcessInstanceId in interface SimulationEventpublic UUID getUUID()
getUUID in interface SimulationEventpublic String getType()
getType in interface SimulationEventpublic String getMetric(String name)
getMetric in interface SimulationEventCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.