Class SetupEnvironmentTask
java.lang.Object
ch.tocco.nice2.tasks.impl.progress.persist.SetupEnvironmentTask
- All Implemented Interfaces:
OptionalTask<SetupEnvironmentTask.Args,
,Void> PersistTask<SetupEnvironmentTask.Args,
Void>
public class SetupEnvironmentTask
extends Object
implements OptionalTask<SetupEnvironmentTask.Args,Void>
Creates a Task_execution entity with status `pending`. If there already
exists one for the given task id, its status is set to `pending` again.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoRun
(SetupEnvironmentTask.Args args, 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.OptionalTask
run
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
-
SetupEnvironmentTask
-
-
Method Details
-
doRun
- Specified by:
doRun
in interfaceOptionalTask<SetupEnvironmentTask.Args,
Void> - Throws:
Exception
-