public class LoggingOutput extends Object implements Output, CanFilterResultValue
| Constructor and Description |
|---|
LoggingOutput(ActivityDef def,
long slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
onCycleResult(long completedCycle,
int result)
Mark the result of the numbered cycle with an integer value.
|
void |
setFilter(Predicate<ResultReadable> filter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCycleResult, onCycleResultSegmentpublic LoggingOutput(ActivityDef def, long slot)
public boolean onCycleResult(long completedCycle,
int result)
OutputonCycleResult in interface OutputcompletedCycle - The cycle number being marked.result - the result ordinalpublic void close()
throws Exception
close in interface Outputclose in interface AutoCloseableExceptionpublic void setFilter(Predicate<ResultReadable> filter)
setFilter in interface CanFilterResultValueCopyright © 2017. All rights reserved.