org.odata4j.command
Class ChainCommand<TContext extends CommandContext>

java.lang.Object
  extended by org.odata4j.command.ChainCommand<TContext>
All Implemented Interfaces:
Command<TContext>

public class ChainCommand<TContext extends CommandContext>
extends Object
implements Command<TContext>


Nested Class Summary
static class ChainCommand.Builder<TContext extends CommandContext>
           
 
Constructor Summary
ChainCommand(List<Command<TContext>> commands)
           
 
Method Summary
 CommandResult execute(TContext context)
           
static
<TContext extends CommandContext>
ChainCommand.Builder<TContext>
newBuilder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainCommand

public ChainCommand(List<Command<TContext>> commands)
Method Detail

execute

public CommandResult execute(TContext context)
                      throws Exception
Specified by:
execute in interface Command<TContext extends CommandContext>
Throws:
Exception

newBuilder

public static <TContext extends CommandContext> ChainCommand.Builder<TContext> newBuilder()


http://odata4j.org