org.obe.spi.runtime
Interface CompletionStrategy
- public interface CompletionStrategy
Controls the completion of auto-finish activities. The engine consults the
completion strategy whenever a work item for an auto-finish activity is
closed.
- Author:
- Adrian Price
apply
public WMActivityInstanceState apply(WorkflowContext ctx)
throws WMWorkflowException
- Applies the completion strategy in the specified workflow context.
- Parameters:
ctx
- The workflow execution context.
- Returns:
- The new state to be applied to the activity instance. This must
represent a valid state transition, as defined by
WfMC Interface 2
- Throws:
WMWorkflowException
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.