javawebparts.misc.chain.commands
Class LoopStartCommand

java.lang.Object
  |
  +--javawebparts.misc.chain.commands.LoopStartCommand
All Implemented Interfaces:
Command

public class LoopStartCommand
extends java.lang.Object
implements Command

This is a standard Command that begins a loop.


Field Summary
private  java.lang.Integer indexEnd
          The ending value for the index variable.
private  java.lang.Integer indexStart
          The starting value for the index variable.
private static org.apache.commons.logging.Log log
          Log instance.
 
Constructor Summary
LoopStartCommand()
           
 
Method Summary
 Result cleanup(ChainContext chainContext)
          Cleanup().
 Result execute(ChainContext chainContext)
          Execute().
 Result init(ChainContext chainContext)
          Init().
 void setIndexEnd(java.lang.Integer inIndexEnd)
          Setter for the indexEnd property.
 void setIndexStart(java.lang.Integer inIndexStart)
          Setter for the indexStart property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log
Log instance.


indexStart

private java.lang.Integer indexStart
The starting value for the index variable.


indexEnd

private java.lang.Integer indexEnd
The ending value for the index variable.

Constructor Detail

LoopStartCommand

public LoopStartCommand()
Method Detail

setIndexStart

public void setIndexStart(java.lang.Integer inIndexStart)
Setter for the indexStart property.

Parameters:
inIndexStart - Start value for the loop index.

setIndexEnd

public void setIndexEnd(java.lang.Integer inIndexEnd)
Setter for the indexEnd property.

Parameters:
inIndexEnd - End value for the loop index.

init

public Result init(ChainContext chainContext)
Init().

Specified by:
init in interface Command
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().

Specified by:
execute in interface Command
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().

Specified by:
cleanup in interface Command
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