Class SpecificDisabled
- All Implemented Interfaces:
SingleLevelOutputEnabled
Only specific outputs, identified by a textual name, are disabled, and all others are enabled.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionSpecificDisabled
(StringSet outputsDisabled) Creates a newSpecificDisabled
instance. -
Method Summary
Modifier and TypeMethodDescriptionThe names of the outputs that are disbled.boolean
isOutputEnabled
(String outputName) Is a particular a particular output-enabled?void
setOutputsDisabled
(StringSet outputsDisabled) The names of the outputs that are disbled.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
SpecificDisabled
public SpecificDisabled() -
SpecificDisabled
Creates a newSpecificDisabled
instance.- Parameters:
outputsDisabled
- The names of the outputs that are disbled.
-
-
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
-
getOutputsDisabled
The names of the outputs that are disbled. -
setOutputsDisabled
The names of the outputs that are disbled.
-