|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.cocoon.components.flow.apples.samples.HanoiApple
public class HanoiApple
HanoiApple shows an apple maintaining the state of the fanous puzzle.
Field Summary | |
---|---|
static int |
AUX
|
static int |
DST
|
Object |
floatingDisk
|
int |
moves
|
static int |
NONE
|
int |
puzzleSize
|
static int |
SRC
|
Stack[] |
stacks
|
Constructor Summary | |
---|---|
HanoiApple()
|
Method Summary | |
---|---|
void |
process(AppleRequest req,
AppleResponse res)
Allows the AppleController implementation to make some business decissions in a given web application flow. |
String |
toString()
|
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int SRC
public static final int AUX
public static final int DST
public Stack[] stacks
public Object floatingDisk
public int moves
public int puzzleSize
Constructor Detail |
---|
public HanoiApple()
Method Detail |
---|
public String toString()
toString
in class Object
public void process(AppleRequest req, AppleResponse res) throws ProcessingException
AppleController
Typically those decissions will be based upon what it can find inside the
passed AppleRequest
and result into setting specific aspects of the
AppleResponse
process
in interface AppleController
ProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |