org.jbpm.api.cmd
Class VoidCommand

java.lang.Object
  extended by org.jbpm.api.cmd.VoidCommand
All Implemented Interfaces:
java.io.Serializable, Command<java.lang.Void>

public abstract class VoidCommand
extends java.lang.Object
implements Command<java.lang.Void>

convenience for commands without return value.

Author:
Tom Baeyens
See Also:
Serialized Form

Constructor Summary
VoidCommand()
           
 
Method Summary
 java.lang.Void execute(Environment environment)
           
protected abstract  void executeVoid(Environment environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoidCommand

public VoidCommand()
Method Detail

execute

public java.lang.Void execute(Environment environment)
                       throws java.lang.Exception
Specified by:
execute in interface Command<java.lang.Void>
Throws:
java.lang.Exception

executeVoid

protected abstract void executeVoid(Environment environment)
                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 JBoss Community. All Rights Reserved.