public class XesLifecycleExtension extends XesExtensionImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODEL |
static java.lang.String |
STATE |
static java.lang.String |
TRANSITION |
Modifier and Type | Method and Description |
---|---|
XesLifecycleModel |
getModel(XesLog log)
Returns the lifecycle model for the given log, that is, the value of the
attribute with key "lifecycle:model".
|
XesLifecycleState |
getState(XesEvent event)
Returns the state for the given event, that is, the value of the
attribute with key "lifecycle:state".
|
XesLifecycleTransition |
getTransition(XesEvent event)
Returns the transition for the given event, that is, the value of the
attribute with key "lifecycle:transition".
|
static XesLifecycleExtension |
instance() |
XesStringAttribute |
setModel(XesLog log,
XesLifecycleModel model)
Sets the lifecycle model for the given log, that is, the value of the
attribute with key "lifecycle:model".
|
XesStringAttribute |
setState(XesEvent event,
XesLifecycleState state)
Sets the state for the given event, that is, the value of the attribute
with key "lifecycle:model".
|
XesStringAttribute |
setTransition(XesEvent event,
XesLifecycleTransition transition)
Sets the transition for the given event, that is, the value of the
attribute with key "lifecycle:model".
|
addAlias, addEventAttribute, addLogAttribute, addMetaAttribute, addTraceAttribute, getAlias, getEventAttributes, getLogAttributes, getMetaAttributes, getName, getPrefix, getTraceAttributes, getURI, hasAttribute, hasEventAttribute, hasLogAttribute, hasMetaAttribute, hasTraceAttribute, setName, setPrefix, setURI, toString
public static final java.lang.String MODEL
public static final java.lang.String TRANSITION
public static final java.lang.String STATE
public static XesLifecycleExtension instance()
public XesLifecycleModel getModel(XesLog log)
log
- The given log.public XesStringAttribute setModel(XesLog log, XesLifecycleModel model)
log
- The given log.value
- The model to set.public XesLifecycleTransition getTransition(XesEvent event)
event
- The given event.public XesStringAttribute setTransition(XesEvent event, XesLifecycleTransition transition)
event
- The given event.transition
- The transition to set.public XesLifecycleState getState(XesEvent event)
event
- The given event.public XesStringAttribute setState(XesEvent event, XesLifecycleState state)
event
- The given event.state
- The state to set.