org.broadleafcommerce.core.workflow
Interface ProcessContext<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultProcessContextImpl

public interface ProcessContext<T>
extends Serializable


Method Summary
 T getSeedData()
          Returns the seed information
 boolean isStopped()
          Is the process stopped
 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
 

Method Detail

stopProcess

boolean stopProcess()
Activly informs the workflow process to stop processing no further activities will be executed

Returns:
whether or not the stop process call was successful

isStopped

boolean isStopped()
Is the process stopped

Returns:
whether or not the process is stopped

setSeedData

void setSeedData(T seedObject)
Provide seed information to this ProcessContext, usually provided at time of workflow kickoff by the containing workflow processor.

Parameters:
seedObject - - initial seed data for the workflow

getSeedData

T getSeedData()
Returns the seed information

Returns:


Copyright © 2013. All Rights Reserved.