Class RequirementStatusUpdatesPersistTask
java.lang.Object
ch.tocco.nice2.optional.educationrequirement.impl.entitylistener.RequirementStatusUpdatesPersistTask
- All Implemented Interfaces:
PersistTask<Entity,
Void>
-
Constructor Summary
ConstructorDescriptionRequirementStatusUpdatesPersistTask
(@Nullable Entity currentUser, org.joda.time.LocalDate now) RequirementStatusUpdatesPersistTask
(org.joda.time.LocalDate now) -
Method Summary
Modifier and TypeMethodDescription@Nullable Void
run
(Optional<Entity> a, CommandContext commandContext) 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
-
RequirementStatusUpdatesPersistTask
public RequirementStatusUpdatesPersistTask(@Nullable @Nullable Entity currentUser, org.joda.time.LocalDate now) -
RequirementStatusUpdatesPersistTask
public RequirementStatusUpdatesPersistTask(org.joda.time.LocalDate now)
-
-
Method Details
-
run
@Nullable public @Nullable Void run(Optional<Entity> a, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
run
in interfacePersistTask<Entity,
Void> - Throws:
PersistException
InterruptedException
-