org.camunda.bpm.engine.impl.pvm.process
Class ActivityImpl
java.lang.Object
org.camunda.bpm.engine.impl.core.model.CoreModelElement
org.camunda.bpm.engine.impl.core.model.CoreActivity
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl
- All Implemented Interfaces:
- Serializable, HasDIBounds, PvmActivity, PvmProcessElement, PvmScope
public class ActivityImpl
- extends ScopeImpl
- implements PvmActivity, HasDIBounds
- Author:
- Tom Baeyens, Daniel Meyer
- See Also:
- Serialized Form
| Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement |
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 |
outgoingTransitions
protected List<TransitionImpl> outgoingTransitions
namedOutgoingTransitions
protected Map<String,TransitionImpl> namedOutgoingTransitions
incomingTransitions
protected List<TransitionImpl> incomingTransitions
activityBehavior
protected ActivityBehavior activityBehavior
parent
protected ScopeImpl parent
isScope
protected boolean isScope
isAsyncBefore
protected boolean isAsyncBefore
isAsyncAfter
protected boolean isAsyncAfter
isCancelScope
protected boolean isCancelScope
isConcurrent
protected boolean isConcurrent
scope
protected ScopeImpl scope
flowScope
protected ScopeImpl flowScope
x
protected int x
y
protected int y
width
protected int width
height
protected int height
ActivityImpl
public ActivityImpl(String id,
ProcessDefinitionImpl processDefinition)
createOutgoingTransition
public TransitionImpl createOutgoingTransition()
createOutgoingTransition
public TransitionImpl createOutgoingTransition(String transitionId)
findOutgoingTransition
public TransitionImpl findOutgoingTransition(String transitionId)
- Specified by:
findOutgoingTransition in interface PvmActivity
toString
public String toString()
- Overrides:
toString in class CoreActivity
getParentActivity
public ActivityImpl getParentActivity()
setOutgoingTransitions
protected void setOutgoingTransitions(List<TransitionImpl> outgoingTransitions)
setParent
protected void setParent(ScopeImpl parent)
setScope
public void setScope(ScopeImpl scope)
setIncomingTransitions
protected void setIncomingTransitions(List<TransitionImpl> incomingTransitions)
getOutgoingTransitions
public List<PvmTransition> getOutgoingTransitions()
- Specified by:
getOutgoingTransitions in interface PvmActivity
getActivityBehavior
public ActivityBehavior getActivityBehavior()
- Specified by:
getActivityBehavior in class CoreActivity
setActivityBehavior
public void setActivityBehavior(ActivityBehavior activityBehavior)
getParent
public ScopeImpl getParent()
- Specified by:
getParent in interface PvmActivity- Specified by:
getParent in class ScopeImpl
getScope
public ScopeImpl getScope()
- Description copied from interface:
PvmActivity
- returns the scope of this activity. Must contain this activity but may or
may not be the direct parent.
- Specified by:
getScope in interface PvmActivity
getIncomingTransitions
public List<PvmTransition> getIncomingTransitions()
- Specified by:
getIncomingTransitions in interface PvmActivity
isScope
public boolean isScope()
- Specified by:
isScope in interface PvmActivity- Specified by:
isScope in class ScopeImpl
setScope
public void setScope(boolean isScope)
getX
public int getX()
- Specified by:
getX in interface HasDIBounds
setX
public void setX(int x)
- Specified by:
setX in interface HasDIBounds
getY
public int getY()
- Specified by:
getY in interface HasDIBounds
setY
public void setY(int y)
- Specified by:
setY in interface HasDIBounds
getWidth
public int getWidth()
- Specified by:
getWidth in interface HasDIBounds
setWidth
public void setWidth(int width)
- Specified by:
setWidth in interface HasDIBounds
getHeight
public int getHeight()
- Specified by:
getHeight in interface HasDIBounds
setHeight
public void setHeight(int height)
- Specified by:
setHeight in interface HasDIBounds
isAsync
@Deprecated
public boolean isAsync()
- Deprecated.
- Deprecated since 7.2, use
isAsyncBefore()
- Specified by:
isAsync in interface PvmActivity
setAsync
@Deprecated
public void setAsync(boolean isAsync)
- Deprecated.
- Deprecated since 7.2, use
setAsyncBefore(boolean)
isAsyncBefore
public boolean isAsyncBefore()
setAsyncBefore
public void setAsyncBefore(boolean isAsyncBefore)
isAsyncAfter
public boolean isAsyncAfter()
setAsyncAfter
public void setAsyncAfter(boolean isAsyncAfter)
getActivityId
public String getActivityId()
getParentScope
public ScopeImpl getParentScope()
- Specified by:
getParentScope in class ScopeImpl
getParentScopeActivity
public ActivityImpl getParentScopeActivity()
isCancelScope
public boolean isCancelScope()
- Description copied from interface:
PvmActivity
- Indicates whether this activity is interrupting. If true, the activity
will interrupt and cancel all other activities inside the same scope
before it is executed.
- Specified by:
isCancelScope in interface PvmActivity
- Returns:
- true if this activity is interrupting. False otherwise.
setCancelScope
public void setCancelScope(boolean isInterrupting)
isConcurrent
public boolean isConcurrent()
- Description copied from interface:
PvmActivity
- Indicates whether this activity is concurrent. If true, the activity
will be executed concurrently to other activities which are part of
the same scope.
- Specified by:
isConcurrent in interface PvmActivity
- Returns:
- true if this activity is concurrent. False otherwise.
setConcurrent
public void setConcurrent(boolean isConcurrent)
getFlowScope
public ScopeImpl getFlowScope()
- Returns:
- the scope which should be used for traversing
transitions which originate in this activity.
setFlowScope
public void setFlowScope(ScopeImpl flowScope)
Copyright © 2014 camunda services GmbH. All rights reserved.