org.mentawai.core
Class NullConsequence

java.lang.Object
  extended by org.mentawai.core.NullConsequence
All Implemented Interfaces:
Consequence

public class NullConsequence
extends Object
implements Consequence

A consequence that does nothing.

Author:
Sergio Oliveira

Constructor Summary
NullConsequence()
           
 
Method Summary
 void execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          This method does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullConsequence

public NullConsequence()
Method Detail

execute

public void execute(Action a,
                    String result,
                    javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws ConsequenceException
This method does nothing.

Specified by:
execute in interface Consequence
Parameters:
a - 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.
Throws:
ConsequenceException


Copyright © 2013. All Rights Reserved.