Search in sources :

Example 1 with OperationExecutor

use of io.lumeer.core.task.executor.operation.OperationExecutor in project engine by Lumeer.

the class JsExecutor method setErrorInAttribute.

public void setErrorInAttribute(final Document document, final String attributeId, final TaskExecutor taskExecutor) {
    final OperationExecutor operationExecutor = new OperationExecutor(taskExecutor, task, Set.of(new DocumentOperation(document, attributeId, "ERR!")));
    operationExecutor.call();
}
Also used : DocumentOperation(io.lumeer.core.task.executor.operation.DocumentOperation) OperationExecutor(io.lumeer.core.task.executor.operation.OperationExecutor)

Aggregations

DocumentOperation (io.lumeer.core.task.executor.operation.DocumentOperation)1 OperationExecutor (io.lumeer.core.task.executor.operation.OperationExecutor)1