Package | Description |
---|---|
org.anchoranalysis.core.log |
Interfaces to log messages, both information and error messages.
|
org.anchoranalysis.core.log.error |
Mechanism for reporting errors (exceptions/throwables) to the user.
|
org.anchoranalysis.experiment.bean.log |
Different approaches to where messages on the progress/status of an experiment are logged to.
|
org.anchoranalysis.experiment.log |
Helpful classes for logging.
|
org.anchoranalysis.experiment.task |
Non-bean classes related to a
Task . |
org.anchoranalysis.feature.calculate.bound |
Interfaces like
FeatureCalculator but bound to
particular features. |
org.anchoranalysis.feature.session |
A defined context in which one or more features are provided inputs and produce results.
|
org.anchoranalysis.image.feature.calculator |
Implementations of
FeatureCalculatorMulti
related to images, especially to create tables of feature-calculations. |
org.anchoranalysis.image.feature.calculator.merged |
A particular implementation of
FeatureCalculatorMulti for feature-calculations based
upon pairs of image-objects. |
org.anchoranalysis.io.generator.tabular |
Generators for writing tabular data, including CSV.
|
org.anchoranalysis.io.input |
Classes relating to creating inputs for an experiment / task.
|
org.anchoranalysis.io.output.outputter |
Classes for outputting to particular directories.
|
org.anchoranalysis.io.output.writer |
Allows a generators to write element(s) to the filesystem.
|
org.anchoranalysis.mpp.io.input |
Non-beans for reading data structures related to marked point processes from the file system.
|
org.anchoranalysis.plugin.image.object.merge |
Merging
ObjectMask s. |
org.anchoranalysis.plugin.image.object.merge.priority |
Assigning priority when merging
ObjectMask s. |
Modifier and Type | Method and Description |
---|---|
ErrorReporter |
Logger.errorReporter()
Where errors are reported to.
|
Constructor and Description |
---|
Logger(MessageLogger messageLogger,
ErrorReporter errorReporter) |
Modifier and Type | Class and Description |
---|---|
class |
ErrorReporterBase
Utility base class for common error-reporting formatting.
|
class |
ErrorReporterIntoLog
Records errors, by writing them into a logger.
|
class |
ErrorReporterIntoString
Logs error messages into a
String via StringBuilder . |
Modifier and Type | Method and Description |
---|---|
StatefulMessageLogger |
OnlyIf.create(OutputterChecked outputter,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging) |
StatefulMessageLogger |
ToTextFileOnlyIfFailure.create(OutputterChecked outputter,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging) |
StatefulMessageLogger |
SwitchDetailedLogging.create(OutputterChecked bom,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging) |
StatefulMessageLogger |
ToMultiple.create(OutputterChecked outputter,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging) |
StatefulMessageLogger |
ToConsole.create(OutputterChecked outputter,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging) |
StatefulMessageLogger |
ToTextFile.create(OutputterChecked bom,
ErrorReporter errorReporter,
ExecutionArguments arguments,
boolean detailedLogging) |
abstract StatefulMessageLogger |
LoggingDestination.create(OutputterChecked outputter,
ErrorReporter fallbackErrorReporter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination
|
Constructor and Description |
---|
FailureOnlyMessageLogger(String outputName,
OutputterChecked outputter,
ErrorReporter errorReporter,
boolean considerWarningAsFailure) |
TextFileMessageLogger(String filePath,
ErrorReporter errorReporter)
Constructs a logger that (always) writes messages to a text-file with a specific path.
|
TextFileMessageLogger(String outputName,
OutputterChecked outputter,
ErrorReporter errorReporter)
Constructs a logger that (maybe) writes messages to a text-file, with a path based upon an
output name applied to a
OutputterChecked . |
Modifier and Type | Class and Description |
---|---|
class |
ErrorReporterForTask
An error-reporter that replaces particular errors/exceptions with user-friendly messages.
|
Constructor and Description |
---|
InputOutputContextStateful(ExecutionArguments executionArguments,
Outputter outputter,
ExecutionTimeRecorder executionTimeRecorder,
StatefulMessageLogger logger,
ErrorReporter errorReporter)
Creates with initialization arguments.
|
Modifier and Type | Method and Description |
---|---|
default ResultsVector |
FeatureCalculatorMulti.calculate(T input,
ErrorReporter errorReporter,
boolean suppressErrors)
Calculates the results for an
input , either calling FeatureCalculatorMulti.calculate(T) or FeatureCalculatorMulti.calculateSuppressErrors(T, org.anchoranalysis.core.log.error.ErrorReporter) depending on a flag. |
ResultsVector |
FeatureCalculatorMulti.calculateSuppressErrors(T input,
ErrorReporter errorReporter)
Calculates the results for an
input recording the error to an ErrorReporter
if anything goes wrong, but throwing no exception. |
double |
FeatureCalculatorSingleFromMulti.calculateSuppressErrors(T input,
ErrorReporter errorReporter) |
ResultsVector |
FeatureCalculatorMultiChangeInput.calculateSuppressErrors(T input,
ErrorReporter errorReporter) |
double |
FeatureCalculatorSingle.calculateSuppressErrors(T input,
ErrorReporter errorReporter)
Calculates the result for an
input recording the error to an ErrorReporter if
anything goes wrong, but throwing no exception. |
double |
FeatureCalculatorSingleChangeInput.calculateSuppressErrors(T input,
ErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
ResultsVector |
SequentialSession.calculateSuppressErrors(T input,
ErrorReporter errorReporter)
Calculates the results for the next input in the session, reporting any exceptions into an
ErrorReporter . |
Modifier and Type | Method and Description |
---|---|
ResultsVector |
SingleTableCalculator.calculateSuppressErrors(FeatureInputSingleObject input,
ErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
ResultsVector |
PairsTableCalculator.calculateMaybeSuppressErrors(FeatureInputPairObjects input,
ErrorReporter errorReporter) |
ResultsVector |
PairsTableCalculator.calculateSuppressErrors(FeatureInputPairObjects input,
ErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
static Optional<CSVWriter> |
CSVWriter.createFromOutputterWithHeaders(String outputName,
OutputterChecked outputter,
java.util.function.Supplier<List<String>> headerNames,
ErrorReporter errorReporter)
Like
CSVWriter.createFromOutputter(String, OutputterChecked) but suppresses any exceptions
into an error log - and writes headers. |
Modifier and Type | Method and Description |
---|---|
void |
InputFromManagerDelegate.close(ErrorReporter errorReporter) |
default void |
InputFromManager.close(ErrorReporter errorReporter)
Performs all tidying up, file-closing etc.
|
Modifier and Type | Method and Description |
---|---|
ErrorReporter |
Outputter.getErrorReporter() |
default ErrorReporter |
InputOutputContext.getErrorReporter()
The associated error reporter.
|
Constructor and Description |
---|
Outputter(OutputterChecked delegate,
ErrorReporter errorReporter) |
Constructor and Description |
---|
WriterRouterErrors(Writer delegate,
ErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
void |
MultiInput.close(ErrorReporter errorReporter) |
void |
StackWithMap.close(ErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
ErrorReporter |
GraphLogger.getErrorReporter() |
Modifier and Type | Method and Description |
---|---|
protected abstract PrioritisedVertex |
AssignPriority.assignPriorityToEdge(ObjectVertex source,
ObjectVertex destination,
ObjectMask merge,
ErrorReporter errorReporter) |
PrioritisedVertex |
AssignPriorityFromImprovement.assignPriorityToEdge(ObjectVertex source,
ObjectVertex destination,
ObjectMask merged,
ErrorReporter errorReporter) |
PrioritisedVertex |
AssignPriorityFromPair.assignPriorityToEdge(ObjectVertex source,
ObjectVertex destination,
ObjectMask merged,
ErrorReporter errorReporter) |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.