jbpm-form-modeler-request-dispatcher 6.2.0.CR4

org.jbpm.formModeler.service.bb.mvc.controller
Interface CommandResponse

All Superinterfaces:
Serializable
All Known Implementing Classes:
DoNothingResponse, ForwardResponse, RedirectToURLResponse, SendErrorResponse, SendStreamResponse, ShowCurrentScreenResponse, ShowScreenResponse

public interface CommandResponse
extends Serializable

Interface to implement for all the response objects.


Method Summary
 boolean execute(CommandRequest cmdReq)
          Executes the response.
 

Method Detail

execute

boolean execute(CommandRequest cmdReq)
                throws Exception
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.

Parameters:
cmdReq - Object encapsulating the request information.
Returns:
boolean if the execution has been successfully executed, false otherwise.
Throws:
Exception

jbpm-form-modeler-request-dispatcher 6.2.0.CR4

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