javawebparts.misc.chain
Interface Command

All Known Implementing Classes:
LoopEndCommand, LoopStartCommand, SimpleCommand

public interface Command

This is the interface that a Command must implement.

Author:
Frank W. Zammetti.

Method Summary
 Result cleanup(ChainContext chainContext)
          Cleanup().
 Result execute(ChainContext chainContext)
          Execute().
 Result init(ChainContext chainContext)
          Init().
 

Method Detail

init

public Result init(ChainContext chainContext)
Init().

Parameters:
chainContext - The Chain Context being used by the Chain executing this command.
Returns:
The Result object indicating how this method execution went.

execute

public Result execute(ChainContext chainContext)
Execute().

Parameters:
chainContext - The Chain Context being used by the Chain executing this command.
Returns:
The Result object indicating how this method execution went.

cleanup

public Result cleanup(ChainContext chainContext)
Cleanup().

Parameters:
chainContext - The Chain Context being used by the Chain executing this command.
Returns:
The Result object indicating how this method execution went.


Copyright © 2005 Frank W. Zammetti