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()
          Is the process stopped
 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 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(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 © 2013. All Rights Reserved.