Package org.kinotic.continuum.grind.api
Interface JobService
-
- All Known Implementing Classes:
DefaultJobService
public interface JobServiceCreated by Navid Mitchell on 3/19/20
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Flux<Result<?>>assemble(JobDefinition jobDefinition)Takes the givenJobDefinitionand assembles aFluxthat when subscribed to will execute all of theTask's within theJobDefinitionreactor.core.publisher.Flux<Result<?>>assemble(JobDefinition jobDefinition, ResultOptions options)Takes the givenJobDefinitionand assembles aFluxthat when subscribed to will execute all of theTask's within theJobDefinition
-
-
-
Method Detail
-
assemble
reactor.core.publisher.Flux<Result<?>> assemble(JobDefinition jobDefinition)
Takes the givenJobDefinitionand assembles aFluxthat when subscribed to will execute all of theTask's within theJobDefinition- Parameters:
jobDefinition- to assemble- Returns:
- the
Fluxthat will execute theJobDefinition
-
assemble
reactor.core.publisher.Flux<Result<?>> assemble(JobDefinition jobDefinition, ResultOptions options)
Takes the givenJobDefinitionand assembles aFluxthat when subscribed to will execute all of theTask's within theJobDefinition- Parameters:
jobDefinition- to assembleoptions- theResultOptionsto use when executing theJobDefinitionthis will determine theResultType's that you will receive from the emittedResult's- Returns:
- the
Fluxthat will execute theJobDefinition
-
-