Package io.kestra.executor
Class FlowTriggerService
java.lang.Object
io.kestra.executor.FlowTriggerService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static class -
Constructor Summary
ConstructorsConstructorDescriptionFlowTriggerService(io.kestra.core.services.ConditionService conditionService, io.kestra.core.runners.RunContextFactory runContextFactory, io.kestra.core.services.FlowService flowService) -
Method Summary
Modifier and TypeMethodDescriptionList<io.kestra.core.models.executions.Execution> computeExecutionsFromFlowTriggers(io.kestra.core.models.executions.Execution execution, List<? extends io.kestra.core.models.flows.Flow> allFlows, Optional<io.kestra.core.models.triggers.multipleflows.MultipleConditionStorageInterface> multipleConditionStorage) Stream<io.kestra.plugin.core.trigger.Flow> flowTriggers(io.kestra.core.models.flows.Flow flow) withFlowTriggersOnly(Stream<io.kestra.core.models.flows.FlowWithSource> allFlows)
-
Constructor Details
-
FlowTriggerService
public FlowTriggerService(io.kestra.core.services.ConditionService conditionService, io.kestra.core.runners.RunContextFactory runContextFactory, io.kestra.core.services.FlowService flowService)
-
-
Method Details
-
withFlowTriggersOnly
public Stream<FlowTriggerService.FlowWithFlowTrigger> withFlowTriggersOnly(Stream<io.kestra.core.models.flows.FlowWithSource> allFlows) -
flowTriggers
public Stream<io.kestra.plugin.core.trigger.Flow> flowTriggers(io.kestra.core.models.flows.Flow flow) -
computeExecutionsFromFlowTriggers
public List<io.kestra.core.models.executions.Execution> computeExecutionsFromFlowTriggers(io.kestra.core.models.executions.Execution execution, List<? extends io.kestra.core.models.flows.Flow> allFlows, Optional<io.kestra.core.models.triggers.multipleflows.MultipleConditionStorageInterface> multipleConditionStorage)
-