org.broadleafcommerce.core.workflow
Interface ProcessContext

All Superinterfaces:
Serializable
All Known Implementing Classes:
CartOperationContext, CheckoutContext, PricingContext, SimplePaymentContext, WorkflowPaymentContext

public interface ProcessContext
extends Serializable


Method Summary
 boolean isStopped()
           
 void setSeedData(Object 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 exeecuted
 

Method Detail

stopProcess

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

Returns:

isStopped

boolean isStopped()

setSeedData

void setSeedData(Object 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


Copyright © 2012. All Rights Reserved.