Class FindLogEntryTask
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks.PersistTaskBase<String,Iterable<Entity>>
ch.tocco.nice2.persist.core.api.exec.tasks.PersistListTask<String,Entity>
ch.tocco.nice2.persist.core.api.exec.tasks.EntityListTask<String>
ch.tocco.nice2.tasks.impl.progress.persist.FindLogEntryTask
- All Implemented Interfaces:
PersistTask<String,Iterable<Entity>>
Finds
LogEntrys for a given `task_state`.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallResults(ProgressPersistenceManager progressPersistenceManager) run(Optional<String> s, CommandContext ctx) singleResult(ProgressPersistenceManager progressPersistenceManager) Methods inherited from class ch.tocco.nice2.persist.core.api.exec.tasks.EntityListTask
flatMapEntity, mapEntityMethods inherited from class ch.tocco.nice2.persist.core.api.exec.tasks.PersistListTask
filterWith, flatMap, mapMethods inherited from class ch.tocco.nice2.persist.core.api.exec.tasks.PersistTaskBase
asListTask, compose, expand, expandFlatMethods 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, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
FindLogEntryTask
public FindLogEntryTask()
-
-
Method Details
-
run
@Nullable public @Nullable Iterable<Entity> run(Optional<String> s, CommandContext ctx) throws PersistException, InterruptedException - Throws:
PersistExceptionInterruptedException
-
singleResult
public PersistTask<String,LogEntry> singleResult(ProgressPersistenceManager progressPersistenceManager) -
allResults
public PersistListTask<String,LogEntry> allResults(ProgressPersistenceManager progressPersistenceManager)
-