Interface BatchContext
-
public interface BatchContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends BatchOperation>
TgetBatchOperation(java.lang.String id)
Returns a pre-defined batch operation.<T extends BatchOperation>
TgetBatchOperation(java.lang.String id, java.lang.Class<T> clazz)
<T extends BatchOperation>
TgetBatchOperation(java.lang.String id, java.util.function.Supplier<T> s)
-
-
-
Method Detail
-
getBatchOperation
<T extends BatchOperation> T getBatchOperation(java.lang.String id) throws java.lang.IllegalArgumentException
Returns a pre-defined batch operation. Throws an exception if the operation is not registered.- Throws:
java.lang.IllegalArgumentException
-
getBatchOperation
<T extends BatchOperation> T getBatchOperation(java.lang.String id, java.lang.Class<T> clazz)
-
getBatchOperation
<T extends BatchOperation> T getBatchOperation(java.lang.String id, java.util.function.Supplier<T> s)
-
-