Class GenerateOutputJobTask

java.lang.Object
ch.tocco.nice2.optional.correspondence.impl.action.tasks.GenerateOutputJobTask
All Implemented Interfaces:
OptionalTask<Tuple3<Entity,String,Optional<Iterable<Entity>>>,OutputJobBuilder>, PersistTask<Tuple3<Entity,String,Optional<Iterable<Entity>>>,OutputJobBuilder>

public class GenerateOutputJobTask extends Object implements OptionalTask<Tuple3<Entity,String,Optional<Iterable<Entity>>>,OutputJobBuilder>
Task to generate the OutputJobBuilder for a given Serial Correspondence

Params are wrapped in a Tuple 3:

 - Entity: Serial_correspondence Entity for wich the OutputJobBuilder should be generated
 - String: Subject of the OutputJobBuilder
 
- Optional<Iterable<Entity>>: Correspondences. If this param is not set (Optional.empty()), all Correspondences of the given Serial_correspondence are used.