|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.core.Chain
public class Chain
An action chaining consequence.
| Constructor Summary | |
|---|---|
Chain(ActionConfig ac)
Creates a chain consequence for the given ActionConfig. |
|
Chain(ActionConfig ac,
String innerAction)
Creates a chain consequence for the given ActionConfig |
|
Chain(Class<? extends Object> klass)
|
|
Chain(Class<? extends Object> klass,
String innerAction)
|
|
| Method Summary | |
|---|---|
void |
execute(Action a,
String result,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Executes this consequence. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Chain(ActionConfig ac)
ac - The ActionConfig to chain.
public Chain(ActionConfig ac,
String innerAction)
ac - innerAction -
public Chain(Class<? extends Object> klass,
String innerAction)
public Chain(Class<? extends Object> klass)
| Method Detail |
|---|
public void execute(Action a,
String result,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws ConsequenceException
Consequence
execute in interface Consequencea - The action that generated this consequence.result - The result generated by the action.req - The servlet request of the action.res - The servlet response of the action.
ConsequenceExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||