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 SimulationEvent
public long getEndTime()
getEndTime
in interface SimulationEvent
public String getProcessId()
getProcessId
in interface SimulationEvent
public long getProcessInstanceId()
getProcessInstanceId
in interface SimulationEvent
public UUID getUUID()
getUUID
in interface SimulationEvent
public String getType()
getType
in interface SimulationEvent
public String getMetric(String name)
getMetric
in interface SimulationEvent
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.