|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.smartcomps.twister.engine.priv.core.definition.impl.ActivityImpl
|
+--org.smartcomps.twister.engine.priv.core.definition.impl.StructuredActivityImpl
|
+--org.smartcomps.twister.engine.priv.core.definition.impl.PickImpl
Persistent implementation of the Pick interface.
Pick| Constructor Summary | |
PickImpl()
|
|
| Method Summary | |
void |
addAlarmEvent(org.smartcomps.twister.engine.priv.core.definition.AlarmEvent event,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Adds an alarm event to this Pick activity that triggers the provided activity when fired. |
void |
addMessageEvent(org.smartcomps.twister.engine.priv.core.definition.MessageEvent event,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Adds a message event to this Pick activity that triggers the provided activity when fired. |
org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext |
execute(java.lang.String correlationSetName,
java.util.Map correlation)
Pick is one of the rare structured activity that can be directly executed. |
java.util.Map |
getActivityAlarmEvents()
Builds a Map containing activities as keys and corresponding alarm events as values. |
java.util.Map |
getActivityMessageEvents()
Builds a Map containing activities as keys and corresponding message events as values. |
org.smartcomps.twister.engine.priv.core.definition.AlarmEvent |
getAlarmEvent(org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Returns the alarm event associated with the provided activity. |
java.util.List |
getAlarmEvents()
|
org.smartcomps.twister.engine.priv.core.definition.MessageEvent |
getMessageEvent(org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Returns the message event associated with the provided activity. |
java.util.List |
getMessageEvents()
Returns the list of MessageEvent in the Pick structured activity. |
boolean |
isCreateInstance()
|
void |
setAlarmEvents(java.util.List alarmEvents)
|
void |
setCreateInstance(boolean createInstance)
|
void |
setMessageEvents(java.util.List messageEvents)
|
| Methods inherited from class org.smartcomps.twister.engine.priv.core.definition.impl.StructuredActivityImpl |
addActivity, addExecutionContext, getActivities, getActivitySet, getExecutionContexts, setActivities, setActivitySet, setExecutionContexts |
| Methods inherited from class org.smartcomps.twister.engine.priv.core.definition.impl.ActivityImpl |
compareTo, createContextTree, fetchProcess, getActivityContainer, getContainer, getId, getIndex, getJoinCondition, getName, getProcess, getProcessSet, getSourceLinks, getTargetLinks, setActivityContainer, setContainer, setId, setIndex, setJoinCondition, setName, setProcess, setProcessSet, setSourceLinks, setTargetLinks |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.smartcomps.twister.engine.priv.core.definition.StructuredActivity |
addActivity, addExecutionContext, getActivities, getExecutionContexts |
| Methods inherited from interface org.smartcomps.twister.engine.priv.core.definition.Activity |
fetchProcess, getContainer, getJoinCondition, getName, getProcess, getSourceLinks, getTargetLinks, setJoinCondition, setName, setSourceLinks, setTargetLinks |
| Constructor Detail |
public PickImpl()
| Method Detail |
public boolean isCreateInstance()
isCreateInstance in interface Pickpublic void setCreateInstance(boolean createInstance)
setCreateInstance in interface Pickpublic java.util.List getMessageEvents()
Pick
getMessageEvents in interface Pickpublic void setMessageEvents(java.util.List messageEvents)
public void addMessageEvent(org.smartcomps.twister.engine.priv.core.definition.MessageEvent event,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Pick
addMessageEvent in interface Pickevent - the message event to wait for to fire the activityactivity - to start when the message event occurspublic java.util.Map getActivityMessageEvents()
Pick
getActivityMessageEvents in interface Pickpublic org.smartcomps.twister.engine.priv.core.definition.MessageEvent getMessageEvent(org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Pick
getMessageEvent in interface Pickactivity - associated with the wanted message event
public java.util.List getAlarmEvents()
public void setAlarmEvents(java.util.List alarmEvents)
public void addAlarmEvent(org.smartcomps.twister.engine.priv.core.definition.AlarmEvent event,
org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Pick
addAlarmEvent in interface Pickevent - the alarm event to wait for to fire the activityactivity - to start when the message event occurspublic java.util.Map getActivityAlarmEvents()
Pick
getActivityAlarmEvents in interface Pickpublic org.smartcomps.twister.engine.priv.core.definition.AlarmEvent getAlarmEvent(org.smartcomps.twister.engine.priv.core.definition.Activity activity)
Pick
getAlarmEvent in interface Pickactivity - associated with the wanted alarm event
public org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext execute(java.lang.String correlationSetName,
java.util.Map correlation)
throws EngineException
Pick
execute in interface PickcorrelationSetName - correlation -
EngineException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||