|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.workflow.DefaultProcessContextImpl<T>
T - SeedDatapublic class DefaultProcessContextImpl<T>
Default ProcessContext implementation
| Field Summary | |
|---|---|
protected List<ActivityMessageDTO> |
activityMessages
|
protected T |
seedData
|
static long |
serialVersionUID
|
protected boolean |
stopEntireProcess
|
| Constructor Summary | |
|---|---|
DefaultProcessContextImpl()
|
|
| Method Summary | |
|---|---|
List<ActivityMessageDTO> |
getActivityMessages()
|
T |
getSeedData()
Returns the seed information |
boolean |
isStopped()
Is the process stopped |
void |
setActivityMessages(List<ActivityMessageDTO> activityMessages)
|
void |
setSeedData(T seedObject)
Provide seed information to this ProcessContext, usually provided at time of workflow kickoff by the containing workflow processor. |
boolean |
stopProcess()
Activly informs the workflow process to stop processing no further activities will be executed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
protected T seedData
protected boolean stopEntireProcess
protected List<ActivityMessageDTO> activityMessages
| Constructor Detail |
|---|
public DefaultProcessContextImpl()
| Method Detail |
|---|
public boolean stopProcess()
ProcessContext
stopProcess in interface ProcessContext<T>public boolean isStopped()
ProcessContext
isStopped in interface ProcessContext<T>public T getSeedData()
ProcessContext
getSeedData in interface ProcessContext<T>public void setSeedData(T seedObject)
ProcessContext
setSeedData in interface ProcessContext<T>seedObject - - initial seed data for the workflowpublic List<ActivityMessageDTO> getActivityMessages()
getActivityMessages in interface ActivityMessagespublic void setActivityMessages(List<ActivityMessageDTO> activityMessages)
setActivityMessages in interface ActivityMessages
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||