Package org.drools.commands.fluent
Class BatchImpl
- java.lang.Object
-
- org.drools.commands.fluent.BatchImpl
-
- All Implemented Interfaces:
java.io.Serializable,Batch,org.kie.api.command.BatchExecutionCommand,org.kie.api.command.Command<org.kie.api.runtime.ExecutionResults>
public class BatchImpl extends java.lang.Object implements Batch
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchImpladdCommand(org.kie.api.command.Command cmd)java.util.List<org.kie.api.command.Command>getCommands()longgetDistance()
-
-
-
Method Detail
-
getDistance
public long getDistance()
- Specified by:
getDistancein interfaceBatch
-
addCommand
public BatchImpl addCommand(org.kie.api.command.Command cmd)
- Specified by:
addCommandin interfaceBatch
-
getCommands
public java.util.List<org.kie.api.command.Command> getCommands()
- Specified by:
getCommandsin interfaceBatch
-
-