Class CreateMergedOutputJobTask
java.lang.Object
ch.tocco.nice2.outputcenter.impl.persisttask.CreateMergedOutputJobTask
- All Implemented Interfaces:
PersistTask<MergedOutputJobBuilder,
Entity>
@Component
public class CreateMergedOutputJobTask
extends Object
implements PersistTask<MergedOutputJobBuilder,Entity>
-
Constructor Summary
ConstructorDescriptionCreateMergedOutputJobTask
(EntityDefaultValueService entityDefaultValueService, PdfUtilityService utility, DocumentDao documentDao, CommandExecutor commandExecutor, TimezoneResolverService timezoneResolverService, PrincipalService principalService) -
Method Summary
Modifier and TypeMethodDescription@Nullable Entity
run
(Optional<MergedOutputJobBuilder> argument, CommandContext commandContext) void
setMarkXOffset
(float markXOffset) void
setMarkYOffset
(float markYOffset) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
CreateMergedOutputJobTask
public CreateMergedOutputJobTask(EntityDefaultValueService entityDefaultValueService, PdfUtilityService utility, DocumentDao documentDao, CommandExecutor commandExecutor, TimezoneResolverService timezoneResolverService, PrincipalService principalService)
-
-
Method Details
-
setMarkXOffset
@Value("${nice2.outputcenter.markXOffset}") public void setMarkXOffset(float markXOffset) -
setMarkYOffset
@Value("${nice2.outputcenter.markYOffset}") public void setMarkYOffset(float markYOffset) -
run
@Nullable public @Nullable Entity run(Optional<MergedOutputJobBuilder> argument, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
run
in interfacePersistTask<MergedOutputJobBuilder,
Entity> - Throws:
PersistException
InterruptedException
-