Class SpecificEnabled
Object
org.anchoranalysis.bean.AnchorBean<OutputEnabled>
org.anchoranalysis.io.output.bean.enabled.OutputEnabled
org.anchoranalysis.io.output.bean.enabled.SpecificEnabled
- All Implemented Interfaces:
SingleLevelOutputEnabled
public class SpecificEnabled extends OutputEnabled
Only specific outputs, identified by a textual name, are enabled.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description SpecificEnabled()SpecificEnabled(String output)Create with a single output-enabled.SpecificEnabled(org.anchoranalysis.bean.primitive.StringSet outputsEnabled) -
Method Summary
Modifier and Type Method Description org.anchoranalysis.bean.primitive.StringSetgetOutputsEnabled()The names of the outputs that are enabled.booleanisOutputEnabled(String outputName)Is a particular a particular output-enabled?voidsetOutputsEnabled(org.anchoranalysis.bean.primitive.StringSet outputsEnabled)The names of the outputs that are enabled.
-
Constructor Details
-
SpecificEnabled
Create with a single output-enabled.- Parameters:
output- the output to enable.
-
SpecificEnabled
public SpecificEnabled() -
SpecificEnabled
public SpecificEnabled(org.anchoranalysis.bean.primitive.StringSet outputsEnabled)
-
-
Method Details
-
isOutputEnabled
Description copied from interface:SingleLevelOutputEnabledIs a particular a particular output-enabled?- Parameters:
outputName- the name of the output- Returns:
- true iff the output is allowed
-
getOutputsEnabled
public org.anchoranalysis.bean.primitive.StringSet getOutputsEnabled()The names of the outputs that are enabled. -
setOutputsEnabled
public void setOutputsEnabled(org.anchoranalysis.bean.primitive.StringSet outputsEnabled)The names of the outputs that are enabled.
-