Class GetSnippetsTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.persist.GetSnippetsTask
- All Implemented Interfaces:
PersistTask<Void,List<Snippet>>
Get a list of all available snippets.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
GetSnippetsTask
-
-
Method Details
-
run
@Nullable public @Nullable List<Snippet> run(Optional<Void> a, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
runin interfacePersistTask<Void,List<Snippet>> - Throws:
PersistExceptionInterruptedException
-