Class SpecificEnabled
- All Implemented Interfaces:
SingleLevelOutputEnabled
Only specific outputs, identified by a textual name, are enabled.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionSpecificEnabled
(String output) Create with a single output-enabled.SpecificEnabled
(StringSet outputsEnabled) Creates a newSpecificEnabled
instance. -
Method Summary
Modifier and TypeMethodDescriptionThe names of the outputs that are enabled.boolean
isOutputEnabled
(String outputName) Is a particular a particular output-enabled?void
setOutputsEnabled
(StringSet outputsEnabled) The names of the outputs that are enabled.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
SpecificEnabled
Create with a single output-enabled.- Parameters:
output
- the output to enable.
-
SpecificEnabled
public SpecificEnabled() -
SpecificEnabled
Creates a newSpecificEnabled
instance.- Parameters:
outputsEnabled
- The names of the outputs that are enabled.
-
-
Method Details
-
isOutputEnabled
Description copied from interface:SingleLevelOutputEnabled
Is a particular a particular output-enabled?- Parameters:
outputName
- the name of the output- Returns:
- true iff the output is allowed
-
getOutputsEnabled
The names of the outputs that are enabled. -
setOutputsEnabled
The names of the outputs that are enabled.
-