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
LogEntry
s for a given `task_state`.-
Nested Class Summary
-
Constructor Summary
-
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, mapEntity
Methods inherited from class ch.tocco.nice2.persist.core.api.exec.tasks.PersistListTask
filterWith, flatMap, map
Methods inherited from class ch.tocco.nice2.persist.core.api.exec.tasks.PersistTaskBase
asListTask, compose, expand, expandFlat
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.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:
PersistException
InterruptedException
-
singleResult
public PersistTask<String,LogEntry> singleResult(ProgressPersistenceManager progressPersistenceManager) -
allResults
public PersistListTask<String,LogEntry> allResults(ProgressPersistenceManager progressPersistenceManager)
-