Class AdHocCommand

  • public class AdHocCommand
    extends AbstractAdHocCommand
    Represents a ad-hoc command invoked on a remote entity. Invoking one of the execute(), next(SubmitForm), prev(), cancel() or complete(SubmitForm) actions results in executing that action on the remote entity. In response to that action the internal state of the this command instance will change. For example, if the command is a single stage command, then invoking the execute action will execute this action in the remote location. After that the local instance will have a state of "completed" and a form or notes that applies.