Class OutputterCheckedFixture
Object
OutputterCheckedFixture
A fixture that implements a basic implementation of a
OutputterChecked
.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic OutputterChecked
create()
Creates with default empty values.static OutputterChecked
createFrom
(OutputManager outputManager) Creates aOutputterChecked
from anOutputManager
- that permits all outputs.static OutputterChecked
createFrom
(OutputManager outputManager, OutputEnabledRules outputsEnabled) Creates aOutputterChecked
from 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 aOutputterChecked
from 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 BindFailedException Creates aOutputterChecked
from 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.
-