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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoRun(SetupEnvironmentTask.Args args, CommandContext commandContext) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OptionalTask
runMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
SetupEnvironmentTask
-
-
Method Details
-
doRun
- Specified by:
doRunin interfaceOptionalTask<SetupEnvironmentTask.Args, Void>- Throws:
Exception
-