public final class ProcessInstance extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
ProcessInstance()
Creates new instance.
|
|
ProcessInstance(long id,
ProcessInstanceState state,
Context context,
Collection<ProcessInstance> processInstances,
Goals goals)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Context |
getContext()
Returns the process instance context.
|
Goals |
getGoals()
Returns the process instance goals.
|
long |
getId()
Returns the process instance id.
|
String |
getModelId()
Returns the process instance model id.
|
String |
getName()
Returns the process instance name.
|
List<ProcessInstance> |
getProcessInstances()
Return the list of child process instances.
|
ProcessInstanceState |
getState()
Returns the process instance state.
|
int |
hashCode() |
String |
toString() |
protected ProcessInstance()
public ProcessInstance(long id, ProcessInstanceState state, Context context, Collection<ProcessInstance> processInstances, Goals goals)
id
- state
- context
- processInstances
- goals
- NullPointerException
- if state
or context
or processInstances
is nullpublic long getId()
public ProcessInstanceState getState()
public Context getContext()
public String getName()
public String getModelId()
public List<ProcessInstance> getProcessInstances()
public Goals getGoals()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.