Interface OptionalTask<A,B>
- All Superinterfaces:
PersistTask<A,
B>
- All Known Subinterfaces:
CalendarEventLabelTask
,CreateOrderGeneratorBeanTask
- All Known Implementing Classes:
AbstractActionResource.GetFormEntityTask
,AbstractAllChangesTask
,AbstractCmsAllChangesTask
,AbstractDmsAllChangesTask
,AggregateTasks.Avg
,AggregateTasks.Count
,AggregateTasks.SimpleSum
,AggregateTasks.Sum
,AnonymizeEntityHistoryTask
,BufferedSetEntityDefaultsTask
,CalculateDebitorOpenBalanceDueTask
,CalendarEventLabelAvailabilityTask
,CalendarEventLabelDefaultTask
,CalendarEventLabelReservationTask
,CancelVoucherTask
,CascadeDeleteTask
,ClearFieldsTask
,CopyAdditionalRelationsTask
,CopyDataTask
,CopyDataTask.CopyLecturerBookingsTask
,CopyDataTask.CopyRegistrationsTask
,CreateAnswerTask
,CreateBalanceDunningVoucherTask
,CreateConsolidatableVoucherTask
,CreateCorrespondenceTask
,CreateDebitorTask
,CreateDunningLevelTask
,CreateHeaderTask
,CreateMailArchiveAttachmentTask
,CreateMailArchiveEntryTask
,CreateMovementTask
,CreateOrderRateTask
,CreateOrderTask
,CreatePrepaymentTask
,CreatePreviewTask
,CreateReservationBodyTask
,CreateTimereportRecordTask
,CreateTrainerBodyTask
,CreateVoucherForIncomingPaymentTask
,CreateVouchersTask
,CreateWageTask
,DebitorDunningCompensationTask
,DebitorTotalsTask
,DefaultCreateOrderGeneratorBeanTask
,DefaultGetRatingTask
,DeleteCaseDocuments
,DeleteRelationsTask
,EmailRelationConfigTask
,EntityTemplateTasks.LoadRelationsTask
,EntityTemplateTasks.TemplateEnityCreator
,EntityTemplateTasks.TemplateEntityFiller
,EntityTemplateTasks.TemplateEntityMapper
,EntityTemplateTasks.TemplateEntityToUri
,EvaluateQuestionnaireLabelTask
,EvaluateSourceDefaultDisplayTask
,EvaluationTask
,EventRegistrationModuleTask
,EventRegistrationQuestionsTask
,EventRegistrationResponsibleTask
,EventRegistrationTask
,EventRegistrationUserTask
,FindEntitiesToDetermineLocationTask
,FindLogEntryTask.Transform
,GenerateAddressOutputTask
,GenerateEvaluationExecutionsTask
,GenerateFreemarkerTask
,GenerateOutputJobTask
,GetAllRelatedEntities
,GetDateForConditionTask
,GetDefaultLanguageTask
,GetDirectOfftimeEventsTask
,GetEventModuleDataTask
,GetExistingAnswerTask
,GetIntervalCountOfftimeEventsTask
,GetIntervalUntilOfftimeEventsTask
,GetLocaleFromLanguageRelationTask
,GetQuestionAsMapTask
,GetQuestionAsStringTask
,GetRelatedEntityTask
,GetRelationOnExecutionByEntityNameTask
,GetRelationOnExecutionTask
,GetSinglePrincipal
,GetSurveyAsMapTask
,InheritIncomeTask
,JsonTreeTask
,LoadArticleTask
,LoginTask
,LoginUserEntityTask
,ModifyFieldsTask
,ModifyRelationsTask
,PathInfoTask
,PathValidationTask
,PileImportTask
,PreprocessFreemarkerTemplateTask
,PrincipalTasks.PrincipalConverter
,PrincipalTasks.PrincipalDetailsConverter
,PrincipalTasks.PrincipalFieldSetter
,PrincipalTasks.RoleConverter
,ProcessFreemarkerTemplatesOnCorrespondenceTask
,PublishAllPageContentTask
,PublishAllResourceContentTask
,RelateParentEventsTask
,RelateSourceEventsTask
,RemoveDebitorExportTask
,RemoveParallelEventTask
,RemoveParentEventsTask
,ReplaceMailArchiveAttachmentLinksTask
,RequireKeyAsStringTask
,ResetRelationTask
,RevertAllChangesTask
,RevertAllChangesTask
,SaveOutputJobTask
,SaveRequirementEvaluationPersistTask
,SaveSerialCorrespondenceTask
,SendEventRegistrationMailTask
,SetCorrespondenceTemplateTask
,SetDebitorClearingTask
,SetDebitorPaymentStatusTask
,SetDefaultsTask
,SetGeoLocationTask
,SetMaturityDateOnDebitorTask
,SetRateMaturityDateTask
,SetRatingOnDebitorInformationTask
,SetupEnvironmentTask
,UnpublishAllPageContentTask
,UnpublishAllResourceContentTask
,UpdateContractDatesTask
,UpdateProcessingStatusTask
,UserEventRegistrationQuestionsTask
,ValidateEntityTask
,WriteLinkageTask
,WriteNonFormDataTask
A task encapsulating the
null
-Check allowing for better chaining
of tasks. The first task in a chain that returns null
causes all
others to skip execution.-
Method Summary
Modifier and TypeMethodDescriptiondoRun
(A a, CommandContext commandContext) default B
run
(Optional<A> a, CommandContext commandContext) 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