jbpm-form-modeler-request-dispatcher 6.0.0-SNAPSHOT

org.jbpm.formModeler.service.bb.mvc.controller.responses
Class DoNothingResponse

java.lang.Object
  extended by org.jbpm.formModeler.service.bb.mvc.controller.responses.DoNothingResponse
All Implemented Interfaces:
CommandResponse

public class DoNothingResponse
extends Object
implements CommandResponse

Null response generator. It does nothing. Not very interesting, but sometimes useful.


Constructor Summary
DoNothingResponse()
           
 
Method Summary
 boolean execute(CommandRequest cmdReq)
          Executes the response.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoNothingResponse

public DoNothingResponse()
Method Detail

execute

public boolean execute(CommandRequest cmdReq)
                throws Exception
Description copied from interface: CommandResponse
Executes the response. It typically will be one of the response types that are provided in the org.jbpm.formModeler.service.mvc.controller.responses package.

Specified by:
execute in interface CommandResponse
Parameters:
cmdReq - Object encapsulating the request information.
Returns:
boolean if the execution has been successfully executed, false otherwise.
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

jbpm-form-modeler-request-dispatcher 6.0.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.