org.apache.commons.workflow
Interface Activity

All Superinterfaces:
Owner
All Known Implementing Classes:
BaseActivity

public interface Activity
extends Owner

An Activity represents an ordered sequence of Steps that comprise the executable actions necessary to accomplish a business task. The dynamic execution of the Steps owned by this Activity happens within the execute() method of a Context that is utilizing this Activity definition.

Version:
$Revision: 155475 $ $Date: 2005-02-26 13:31:11 +0000 (Sat, 26 Feb 2005) $
Author:
Craig R. McClanahan

Method Summary
 String getId()
          Return the unique identifier (within this Activity) of this Step.
 void setId(String id)
          Set the unique identifier (within this Activity) of this Step.
 
Methods inherited from interface org.apache.commons.workflow.Owner
addStep, clearSteps, findStep, getFirstStep, getLastStep, getSteps, setSteps
 

Method Detail

getId

String getId()
Return the unique identifier (within this Activity) of this Step.


setId

void setId(String id)
Set the unique identifier (within this Activity) of this Step.

Parameters:
id - The new unique identifier


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.