Class CollectTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.visibility.CollectTask
- All Implemented Interfaces:
PersistTask<PrimaryKey, List<Template>>
Unifies the returned of templates of several
AbstractCollectStatesTask in a single list.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrun(Optional<PrimaryKey> contentKey, CommandContext commandContext) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
CollectTask
-
-
Method Details
-
run
@Nullable public @Nullable List<Template> run(Optional<PrimaryKey> contentKey, CommandContext commandContext) throws Exception - Specified by:
runin interfacePersistTask<PrimaryKey, List<Template>>- Throws:
Exception
-