Class OutputterCheckedFixture
Object
org.anchoranalysis.test.io.output.OutputterCheckedFixture
public class OutputterCheckedFixture extends Object
A fixture that implements a basic implementation of a
OutputterChecked.- Author:
- Owen Feehan
-
Method Summary
Modifier and Type Method Description static OutputterCheckedcreate()Creates with default empty values.static OutputterCheckedcreateFrom(OutputManager outputManager)Creates aOutputterCheckedfrom anOutputManager- that permits all outputs.static OutputterCheckedcreateFrom(OutputManager outputManager, OutputEnabledRules outputsEnabled)Creates aOutputterCheckedfrom anOutputManager- that outputs in accordance to the rules inoutputsEnabled.
-
Method Details
-
create
Creates with default empty values.- Returns:
- a newly created outputter, as derived with default values.
- Throws:
BindFailedException- when an outputter cannot be successfully bound to an output directory.
-
createFrom
Creates aOutputterCheckedfrom anOutputManager- that permits all outputs.- Parameters:
outputManager- the output-manager to create from.- Returns:
- a newly created outputter, as derived from
outputManager. - Throws:
BindFailedException- when an outputter cannot be successfully bound to an output directory.
-
createFrom
public static OutputterChecked createFrom(OutputManager outputManager, OutputEnabledRules outputsEnabled) throws BindFailedExceptionCreates aOutputterCheckedfrom anOutputManager- that outputs in accordance to the rules inoutputsEnabled.- Parameters:
outputManager- the output-manager to create from.outputsEnabled- which outputs have enabled or not.- Returns:
- a newly created outputter, as derived from
outputManager. - Throws:
BindFailedException- when an outputter cannot be successfully bound to an output directory.
-