Search in sources :

Example 1 with SingleStage

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

the class OperationExecutor method call.

@Override
public ChangesTracker call() {
    final Stage fileAttachmentsStage = new FileAttachmentsStage(this);
    final Stage singleStage = new SingleStage(this);
    final Stage viewsStage = new ViewsUpdatingStage(this);
    final Stage smtpEmailsStage = new SendSmtpEmailsStage(this);
    final Stage sequencesStage = new SequencesStage(this);
    final ChangesTracker changes = fileAttachmentsStage.call();
    changes.merge(singleStage.call());
    changes.merge(viewsStage.call());
    changes.merge(smtpEmailsStage.call());
    changes.merge(sequencesStage.call());
    return changes;
}
Also used : ChangesTracker(io.lumeer.core.task.executor.ChangesTracker) SequencesStage(io.lumeer.core.task.executor.operation.stage.SequencesStage) FileAttachmentsStage(io.lumeer.core.task.executor.operation.stage.FileAttachmentsStage) SequencesStage(io.lumeer.core.task.executor.operation.stage.SequencesStage) Stage(io.lumeer.core.task.executor.operation.stage.Stage) ViewsUpdatingStage(io.lumeer.core.task.executor.operation.stage.ViewsUpdatingStage) SendSmtpEmailsStage(io.lumeer.core.task.executor.operation.stage.SendSmtpEmailsStage) SingleStage(io.lumeer.core.task.executor.operation.stage.SingleStage) ViewsUpdatingStage(io.lumeer.core.task.executor.operation.stage.ViewsUpdatingStage) FileAttachmentsStage(io.lumeer.core.task.executor.operation.stage.FileAttachmentsStage) SingleStage(io.lumeer.core.task.executor.operation.stage.SingleStage) SendSmtpEmailsStage(io.lumeer.core.task.executor.operation.stage.SendSmtpEmailsStage)

Aggregations

ChangesTracker (io.lumeer.core.task.executor.ChangesTracker)1 FileAttachmentsStage (io.lumeer.core.task.executor.operation.stage.FileAttachmentsStage)1 SendSmtpEmailsStage (io.lumeer.core.task.executor.operation.stage.SendSmtpEmailsStage)1 SequencesStage (io.lumeer.core.task.executor.operation.stage.SequencesStage)1 SingleStage (io.lumeer.core.task.executor.operation.stage.SingleStage)1 Stage (io.lumeer.core.task.executor.operation.stage.Stage)1 ViewsUpdatingStage (io.lumeer.core.task.executor.operation.stage.ViewsUpdatingStage)1