Package org.kinotic.continuum.grind.api
Interface JobService
- All Known Implementing Classes:
DefaultJobService
public interface JobService
Created by Navid Mitchell on 3/19/20
-
Method Summary
Modifier and TypeMethodDescriptionreactor.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 Details
-
assemble
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
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
-