public class ActivityImpl extends ScopeImpl implements PvmActivity, HasDIBounds
Modifier and Type | Field and Description |
---|---|
protected ActivityBehavior |
activityBehavior |
protected PvmScope |
flowScope |
protected int |
height |
protected List<TransitionImpl> |
incomingTransitions |
protected boolean |
isAsync |
protected boolean |
isCancelScope |
protected boolean |
isConcurrent |
protected boolean |
isExclusive |
protected boolean |
isScope |
protected Map<String,TransitionImpl> |
namedOutgoingTransitions |
protected List<TransitionImpl> |
outgoingTransitions |
protected ScopeImpl |
parent |
protected PvmScope |
scope |
protected int |
width |
protected int |
x |
protected int |
y |
activities, executionListeners, namedActivities
id, processDefinition, properties
Constructor and Description |
---|
ActivityImpl(String id,
ProcessDefinitionImpl processDefinition) |
Modifier and Type | Method and Description |
---|---|
TransitionImpl |
createOutgoingTransition() |
TransitionImpl |
createOutgoingTransition(String transitionId) |
TransitionImpl |
findOutgoingTransition(String transitionId) |
ActivityBehavior |
getActivityBehavior() |
String |
getActivityId() |
PvmScope |
getFlowScope() |
int |
getHeight() |
List<PvmTransition> |
getIncomingTransitions() |
List<PvmTransition> |
getOutgoingTransitions() |
ScopeImpl |
getParent() |
ActivityImpl |
getParentActivity() |
ScopeImpl |
getParentScope() |
PvmScope |
getScope()
returns the scope of this activity.
|
int |
getWidth() |
int |
getX() |
int |
getY() |
boolean |
isAsync() |
boolean |
isCancelScope()
Indicates whether this activity is interrupting.
|
boolean |
isConcurrent()
Indicates whether this activity is concurrent.
|
boolean |
isExclusive() |
boolean |
isScope() |
void |
setActivityBehavior(ActivityBehavior activityBehavior) |
void |
setAsync(boolean isAsync) |
void |
setCancelScope(boolean isInterrupting) |
void |
setConcurrent(boolean isConcurrent) |
void |
setExclusive(boolean isExclusive)
Deprecated.
|
void |
setFlowScope(PvmScope flowScope) |
void |
setHeight(int height) |
protected void |
setIncomingTransitions(List<TransitionImpl> incomingTransitions) |
protected void |
setOutgoingTransitions(List<TransitionImpl> outgoingTransitions) |
protected void |
setParent(ScopeImpl parent) |
void |
setScope(boolean isScope) |
void |
setScope(PvmScope scope) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
String |
toString() |
addExecutionListener, addExecutionListener, contains, createActivity, createActivity, findActivity, getActivities, getChildActivity, getExecutionListeners, getExecutionListeners
getId, getProcessDefinition, getProperties, getProperty, 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 isAsync
protected boolean isExclusive
protected boolean isCancelScope
protected boolean isConcurrent
protected PvmScope scope
protected PvmScope flowScope
protected int x
protected int y
protected int width
protected int height
public ActivityImpl(String id, ProcessDefinitionImpl processDefinition)
public TransitionImpl createOutgoingTransition()
public TransitionImpl createOutgoingTransition(String transitionId)
public TransitionImpl findOutgoingTransition(String transitionId)
findOutgoingTransition
in interface PvmActivity
public ActivityImpl getParentActivity()
protected void setOutgoingTransitions(List<TransitionImpl> outgoingTransitions)
protected void setParent(ScopeImpl parent)
public void setScope(PvmScope scope)
protected void setIncomingTransitions(List<TransitionImpl> incomingTransitions)
public List<PvmTransition> getOutgoingTransitions()
getOutgoingTransitions
in interface PvmActivity
public ActivityBehavior getActivityBehavior()
public void setActivityBehavior(ActivityBehavior activityBehavior)
public ScopeImpl getParent()
getParent
in interface PvmActivity
public PvmScope getScope()
PvmActivity
getScope
in interface PvmActivity
public List<PvmTransition> getIncomingTransitions()
getIncomingTransitions
in interface PvmActivity
public boolean isScope()
isScope
in interface PvmActivity
public void setScope(boolean isScope)
public int getX()
getX
in interface HasDIBounds
public void setX(int x)
setX
in interface HasDIBounds
public int getY()
getY
in interface HasDIBounds
public void setY(int y)
setY
in interface HasDIBounds
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
public boolean isAsync()
isAsync
in interface PvmActivity
public void setAsync(boolean isAsync)
public boolean isExclusive()
isExclusive
in interface PvmActivity
@Deprecated public void setExclusive(boolean isExclusive)
public String getActivityId()
public ScopeImpl getParentScope()
getParentScope
in class ScopeImpl
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 PvmScope getFlowScope()
public void setFlowScope(PvmScope flowScope)
Copyright © 2015. All rights reserved.