Package com._1c.g5.v8.bm.integration
Interface IBmSingleNamespaceTask<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Task of the BM platform which is bound to a single namespace
Should be used for tasks that require communication (read or write) only with a data of a single namespace
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(IBmTransaction transaction) The method called by the task executor with an active transaction.
-
Method Details
-
execute
The method called by the task executor with an active transaction. The method code must not commit or rollback the transaction.
If the task is not supposed to return a result, then it may be parameterized with
Void
and return null.- Parameters:
transaction
- The active transaction. May not benull
.- Returns:
- execution result, may be
null
.
-