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.StringSet getOutputsEnabled()
    The names of the outputs that are enabled.
    boolean isOutputEnabled​(String outputName)
    Is a particular a particular output-enabled?
    void setOutputsEnabled​(org.anchoranalysis.bean.primitive.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SpecificEnabled

      public SpecificEnabled​(String output)
      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

      public boolean isOutputEnabled​(String outputName)
      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

      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.