|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.smartcomps.twister.engine.priv.messaging.impl.PickAsReceive
This class is a wrapper around the MessageEvent of a Pick structured activity to use it just as using a Receive. This way our MessageController implementation just consider Receive activities and we don't have to worry about always differentiating the two cases : Receive and Pick MessageEvent.
MessageController
,
Receive
,
Pick
,
MessageEvent
Constructor Summary | |
PickAsReceive(org.smartcomps.twister.engine.priv.core.definition.Pick pick,
int eventPos)
|
Method Summary | |
void |
addCorrelation(org.smartcomps.twister.engine.priv.core.definition.CorrelationRef correlationRef)
|
org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext |
execute(java.lang.String correlationSetName,
java.util.Map correlation)
|
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess |
fetchProcess()
This method browse the activity containment hierarchy to fetch the process this activity is included in. |
org.smartcomps.twister.engine.priv.core.definition.StructuredActivity |
getContainer()
An Activity is contained either in a TwisterProcess of in a StructuredActivity, therefore this method will return the StructuredActivity containing this activity only if it's not the root activity. |
java.util.Collection |
getCorrelations()
|
int |
getEventPos()
|
java.lang.String |
getJoinCondition()
|
java.lang.String |
getName()
|
java.lang.String |
getOperation()
|
java.lang.String |
getPartner()
|
org.smartcomps.twister.engine.priv.core.definition.Pick |
getPick()
|
java.lang.String |
getPortType()
|
org.smartcomps.twister.engine.priv.core.definition.TwisterProcess |
getProcess()
An Activity is contained either in a TwisterProcess of in a StructuredActivity, therefore this method will return the TwisterProcess containing this activity only if it is the root activity. |
java.util.Set |
getSourceLinks()
|
java.util.Set |
getTargetLinks()
|
java.lang.String |
getVariable()
|
boolean |
isCreateInstance()
|
void |
setCreateInstance(boolean createInstance)
|
void |
setJoinCondition(java.lang.String expr)
|
void |
setName(java.lang.String name)
|
void |
setOperation(java.lang.String operation)
|
void |
setPartner(java.lang.String partner)
|
void |
setPortType(java.lang.String portType)
|
void |
setSourceLinks(java.util.Set sources)
|
void |
setTargetLinks(java.util.Set targets)
|
void |
setVariable(java.lang.String variable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PickAsReceive(org.smartcomps.twister.engine.priv.core.definition.Pick pick, int eventPos)
Method Detail |
public org.smartcomps.twister.engine.priv.core.definition.Pick getPick()
public int getEventPos()
public java.lang.String getPartner()
getPartner
in interface Receive
public java.lang.String getPortType()
getPortType
in interface Receive
public java.lang.String getOperation()
getOperation
in interface Receive
public java.lang.String getVariable()
getVariable
in interface Receive
public boolean isCreateInstance()
isCreateInstance
in interface Receive
public java.util.Collection getCorrelations()
getCorrelations
in interface Receive
public java.lang.String getName()
getName
in interface Activity
public org.smartcomps.twister.engine.priv.core.dynamic.ExecutionContext execute(java.lang.String correlationSetName, java.util.Map correlation) throws EngineException
execute
in interface BasicActivity
EngineException
public org.smartcomps.twister.engine.priv.core.definition.StructuredActivity getContainer()
Activity
getContainer
in interface Activity
public org.smartcomps.twister.engine.priv.core.definition.TwisterProcess getProcess()
Activity
getProcess
in interface Activity
public org.smartcomps.twister.engine.priv.core.definition.TwisterProcess fetchProcess()
Activity
fetchProcess
in interface Activity
public void setPartner(java.lang.String partner)
setPartner
in interface Receive
public void setPortType(java.lang.String portType)
setPortType
in interface Receive
public void setOperation(java.lang.String operation)
setOperation
in interface Receive
public void setVariable(java.lang.String variable)
setVariable
in interface Receive
public void setCreateInstance(boolean createInstance)
setCreateInstance
in interface Receive
public void addCorrelation(org.smartcomps.twister.engine.priv.core.definition.CorrelationRef correlationRef)
addCorrelation
in interface Receive
public void setName(java.lang.String name)
setName
in interface Activity
public java.lang.String getJoinCondition()
getJoinCondition
in interface Activity
public void setJoinCondition(java.lang.String expr)
setJoinCondition
in interface Activity
public java.util.Set getSourceLinks()
getSourceLinks
in interface Activity
public void setSourceLinks(java.util.Set sources)
setSourceLinks
in interface Activity
public java.util.Set getTargetLinks()
getTargetLinks
in interface Activity
public void setTargetLinks(java.util.Set targets)
setTargetLinks
in interface Activity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |