Package | Description |
---|---|
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.image.io.stack.output |
Non-bean classes for writing a
Stack to the
filesystem. |
org.anchoranalysis.io.generator.collection |
Outputting more than one element collectively using a generator.
|
org.anchoranalysis.io.generator.sequence |
Writing a sequence of elements using a generator.
|
org.anchoranalysis.io.generator.tabular |
Generators for writing tabular data, including CSV.
|
org.anchoranalysis.io.generator.text |
Generators for writing textual data, including strings.
|
org.anchoranalysis.io.output.bean |
Beans for the framework around writing files to the file-system.
|
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.segment.bean.optimization.feedback |
Providing feedback on the progress of a
OptimizationScheme . |
org.anchoranalysis.test.image.io |
Utilities for testing-related reading and writing to the filesystem.
|
org.anchoranalysis.test.io.output |
Fixtures for an
OutputManager and related-classes. |
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
|
StatefulMessageLogger |
LoggingDestination.createWithConsoleFallback(OutputterChecked outputter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination - and if anything goes wrong reporting fallback into
the console.
|
StatefulMessageLogger |
LoggingDestination.createWithLogFallback(OutputterChecked outputter,
MessageLogger fallbackErrorReporter,
ExecutionArguments arguments,
boolean detailedLogging)
Creates a logger for this destination - and if anything goes wrong reporting fallback into a
log.
|
Constructor and Description |
---|
FailureOnlyMessageLogger(String outputName,
OutputterChecked outputter,
ErrorReporter errorReporter,
boolean considerWarningAsFailure) |
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 | Method and Description |
---|---|
InputOutputContextStateful |
ExperimentFeedbackContext.inputOutput(ExecutionArguments executionArguments,
OutputterChecked outputter)
Derive an
InputOutputContextStateful from the current context. |
Constructor and Description |
---|
ParametersExperiment(ExecutionArguments executionArguments,
String experimentIdentifier,
OutputterChecked outputter,
PathPrefixer prefixer,
ExperimentFeedbackContext feedbackContext)
Creates with initialization arguments.
|
Modifier and Type | Method and Description |
---|---|
OutputSequenceIncrementing<Stack> |
OutputSequenceStackFactory.incrementingByOne(String subdirectoryName,
OutputterChecked outputter)
Creates an sequence of stacks in a subdirectory with a number in the outputted file name that
increments each time by one.
|
static void |
NamedStacksOutputter.output(NamedProvider<Stack> stacks,
String outputName,
boolean suppressSubdirectory,
OutputterChecked outputter)
Writes all or a subset from a set of named-stacks to a directory as a raster.
|
OutputSequenceIndexed<Stack,String> |
OutputSequenceStackFactory.withoutOrderCurrentDirectory(String outputName,
OutputterChecked outputter)
Creates a sequence of stacks in the current context's directory that has no pattern.
|
void |
OutputSequenceStackFactory.withoutOrderSubset(NamedProvider<Stack> stacks,
String outputName,
boolean suppressSubdirectory,
OutputterChecked outputter)
Writes all or a subset from a set of named-stacks to a directory.
|
Constructor and Description |
---|
NamedProviderOutputter(NamedProvider<T> provider,
Generator<T> generator,
OutputterChecked outputter) |
Modifier and Type | Method and Description |
---|---|
OutputterChecked |
BoundOutputter.getOutputter()
The outputter to be used for the sequence.
|
Constructor and Description |
---|
BoundOutputter(OutputterChecked outputter,
OutputPattern outputPattern,
Generator<T> generator) |
OutputSequenceFactory(Generator<T> generator,
OutputterChecked outputter) |
Modifier and Type | Method and Description |
---|---|
static Optional<CSVWriter> |
CSVWriter.createFromOutputter(String outputName,
OutputterChecked outputter)
Creates and starts a CSVWriter if it's allowed, otherwise returns
Optional.empty() . |
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 |
---|---|
static Optional<TextFileOutput> |
TextFileOutputter.create(String extension,
OutputterChecked outputter,
String outputName)
Creates a
TextFileOutput . |
Modifier and Type | Method and Description |
---|---|
OutputterChecked |
OutputManager.createExperimentOutputter(Optional<String> experimentIdentifier,
MultiLevelOutputEnabled outputsEnabled,
Optional<MultiLevelRecordedOutputs> recordedOutputs,
OutputWriteContext writeContext,
PathPrefixerContext prefixerContext,
Optional<java.util.function.Consumer<Path>> callUponDirectoryCreation,
Optional<Logger> logger)
Creates an outputter for the experiment in general.
|
Modifier and Type | Method and Description |
---|---|
OutputterChecked |
OutputterChecked.changePrefix(DirectoryWithPrefix prefixToAssign)
Creates a
OutputterChecked with a changed prefix. |
static OutputterChecked |
OutputterChecked.createForDirectoryPermissive(Path pathDirectory,
DirectoryCreationParameters directoryCreation,
Optional<Logger> logger)
Creates, defaulting to a permissive output-manager in a particular directory.
|
static OutputterChecked |
OutputterChecked.createWithPrefix(DirectoryWithPrefix prefix,
MultiLevelOutputEnabled outputEnabled,
OutputWriteContext context,
Optional<MultiLevelRecordedOutputs> recordedOutputs,
DirectoryCreationParameters directoryCreation,
Optional<Logger> logger)
Creates a bound output-manager from an existing
OutputManager with a prefix. |
OutputterChecked |
OutputterChecked.deriveSubdirectory(String subdirectoryName,
boolean inheritOutputRulesAndRecording)
Derives a bound-output-manager for a (possibly newly created) subdirectory of the existing
manager
|
OutputterChecked |
Outputter.getChecked()
Gets the underlying delegate of
Outputter that throws checked-exceptions instead of
using a ErrorReporter . |
Constructor and Description |
---|
Outputter(OutputterChecked delegate,
ErrorReporter errorReporter) |
Modifier and Type | Method and Description |
---|---|
OutputterChecked |
ElementOutputter.deriveSubdirectory(String subdirectoryName,
boolean inheritOutputRulesAndRecording)
Derives a bound-output-manager for a (possibly newly created) subdirectory of the existing
manager.
|
OutputterChecked |
ElementOutputter.getOutputter()
The outputter for writing the element.
|
Modifier and Type | Method and Description |
---|---|
Optional<OutputterChecked> |
AlwaysAllowed.createSubdirectory(String outputName,
boolean inheritOutputRulesAndRecording) |
Optional<OutputterChecked> |
Writer.createSubdirectory(String outputName,
boolean inheritOutputRulesAndRecording)
Maybe creates a subdirectory for writing to.
|
Optional<OutputterChecked> |
CheckIfAllowed.createSubdirectory(String outputName,
boolean inheritOutputRulesAndRecording) |
Constructor and Description |
---|
ElementOutputter(OutputterChecked outputter,
ExecutionTimeRecorder executionTimeRecorder,
java.util.function.Supplier<Optional<Logger>> logger) |
Modifier and Type | Method and Description |
---|---|
protected OutputterChecked |
PeriodicSubdirectoryReporter.getParentOutputter() |
Modifier and Type | Method and Description |
---|---|
static OutputterChecked |
OutputterFixture.outputterChecked(Optional<Path> pathTempDirectory) |
Modifier and Type | Method and Description |
---|---|
static OutputterChecked |
OutputterCheckedFixture.create() |
static OutputterChecked |
OutputterCheckedFixture.createFrom(OutputManager outputManager)
Creates a
OutputterChecked from an OutputManager - that permits all outputs. |
static OutputterChecked |
OutputterCheckedFixture.createFrom(OutputManager outputManager,
OutputEnabledRules outputsEnabled)
Creates a
OutputterChecked from an OutputManager - that outputs in accordance
to the rules in outputsEnabled . |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.