public class ActivityImpl extends ScopeImpl implements PvmActivity, HasDIBounds
Modifier and Type | Class and Description |
---|---|
static interface |
ActivityImpl.AsyncAfterUpdate
Delegate interface for the asyncAfter property update
|
static interface |
ActivityImpl.AsyncBeforeUpdate
Delegate interface for the asyncBefore property update.
|
Modifier and Type | Field and Description |
---|---|
protected ActivityBehavior |
activityBehavior |
protected ActivityImpl.AsyncAfterUpdate |
delegateAsyncAfterUpdate
The delegate for the async after attribute update.
|
protected ActivityImpl.AsyncBeforeUpdate |
delegateAsyncBeforeUpdate
The delegate for the async before attribute update.
|
protected ScopeImpl |
flowScope |
protected int |
height |
protected List<TransitionImpl> |
incomingTransitions |
protected boolean |
isAsyncAfter |
protected boolean |
isAsyncBefore |
protected boolean |
isCancelScope |
protected boolean |
isConcurrent |
protected boolean |
isScope |
protected Map<String,TransitionImpl> |
namedOutgoingTransitions |
protected List<TransitionImpl> |
outgoingTransitions |
protected ScopeImpl |
parent |
protected ScopeImpl |
scope |
protected int |
width |
protected int |
x |
protected int |
y |
activities, namedActivities, processDefinition
ioMapping
builtInListeners, builtInVariableListeners, id, listeners, name, properties, variableListeners
Constructor and Description |
---|
ActivityImpl(String id,
ProcessDefinitionImpl processDefinition) |
addExecutionListener, addExecutionListener, contains, createActivity, findActivity, getActivities, getChildActivity, getExecutionListeners, getExecutionListeners, getProcessDefinition, isAncestorFlowScopeOf
createActivity, getIoMapping, setIoMapping
addBuiltInListener, addBuiltInListener, addBuiltInVariableListener, addBuiltInVariableListener, addListener, addListener, addListenerToMap, addVariableListener, addVariableListener, getBuiltInListeners, getBuiltInListeners, getBuiltInVariableListeners, getBuiltInVariableListenersLocal, getId, getListeners, getListeners, getName, getProperties, getProperty, getVariableListeners, getVariableListenersLocal, setId, setName, setProperties, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findActivity, getActivities
getId, getProcessDefinition, getProperty
protected List<TransitionImpl> outgoingTransitions
protected Map<String,TransitionImpl> namedOutgoingTransitions
protected List<TransitionImpl> incomingTransitions
protected ActivityBehavior activityBehavior
protected ScopeImpl parent
protected boolean isScope
protected boolean isAsyncBefore
protected boolean isAsyncAfter
protected boolean isCancelScope
protected boolean isConcurrent
protected ScopeImpl scope
protected ScopeImpl flowScope
protected int x
protected int y
protected int width
protected int height
protected ActivityImpl.AsyncBeforeUpdate delegateAsyncBeforeUpdate
protected ActivityImpl.AsyncAfterUpdate delegateAsyncAfterUpdate
public ActivityImpl(String id, ProcessDefinitionImpl processDefinition)
public TransitionImpl createOutgoingTransition()
public TransitionImpl createOutgoingTransition(String transitionId)
public TransitionImpl findOutgoingTransition(String transitionId)
findOutgoingTransition
in interface PvmActivity
public String toString()
toString
in class CoreActivity
public ActivityImpl getParentActivity()
protected void setOutgoingTransitions(List<TransitionImpl> outgoingTransitions)
protected void setParent(ScopeImpl parent)
public void setScope(ScopeImpl scope)
protected void setIncomingTransitions(List<TransitionImpl> incomingTransitions)
public List<PvmTransition> getOutgoingTransitions()
getOutgoingTransitions
in interface PvmActivity
public ActivityBehavior getActivityBehavior()
getActivityBehavior
in class CoreActivity
public void setActivityBehavior(ActivityBehavior activityBehavior)
public ScopeImpl getParent()
getParent
in interface PvmActivity
getParent
in class ScopeImpl
public ScopeImpl getScope()
PvmActivity
getScope
in interface PvmActivity
public List<PvmTransition> getIncomingTransitions()
getIncomingTransitions
in interface PvmActivity
public boolean isScope()
isScope
in interface PvmActivity
isScope
in class ScopeImpl
public void setScope(boolean isScope)
public int getX()
getX
in interface HasDIBounds
public void setX(int x)
setX
in interface HasDIBounds
public void setAsyncBefore(boolean isAsyncBefore)
public void setAsyncBefore(boolean isAsyncBefore, boolean exclusive)
public int getY()
getY
in interface HasDIBounds
public void setY(int y)
setY
in interface HasDIBounds
public void setAsyncAfter(boolean isAsyncAfter)
public void setAsyncAfter(boolean isAsyncAfter, boolean exclusive)
public int getWidth()
getWidth
in interface HasDIBounds
public void setWidth(int width)
setWidth
in interface HasDIBounds
public int getHeight()
getHeight
in interface HasDIBounds
public void setHeight(int height)
setHeight
in interface HasDIBounds
@Deprecated public boolean isAsync()
isAsyncBefore()
isAsync
in interface PvmActivity
@Deprecated public void setAsync(boolean isAsync)
setAsyncBefore(boolean)
public boolean isAsyncBefore()
public boolean isAsyncAfter()
public String getActivityId()
public ScopeImpl getParentScope()
getParentScope
in class ScopeImpl
public ActivityImpl getParentScopeActivity()
public boolean isCancelScope()
PvmActivity
isCancelScope
in interface PvmActivity
public void setCancelScope(boolean isInterrupting)
public boolean isConcurrent()
PvmActivity
isConcurrent
in interface PvmActivity
public void setConcurrent(boolean isConcurrent)
public ScopeImpl getFlowScope()
public void setFlowScope(ScopeImpl flowScope)
public ActivityImpl.AsyncBeforeUpdate getDelegateAsyncBeforeUpdate()
public void setDelegateAsyncBeforeUpdate(ActivityImpl.AsyncBeforeUpdate delegateAsyncBeforeUpdate)
public ActivityImpl.AsyncAfterUpdate getDelegateAsyncAfterUpdate()
public void setDelegateAsyncAfterUpdate(ActivityImpl.AsyncAfterUpdate delegateAsyncAfterUpdate)
Copyright © 2018. All rights reserved.