Class SpecificDisabled

Object
org.anchoranalysis.bean.AnchorBean<OutputEnabled>
org.anchoranalysis.io.output.bean.enabled.OutputEnabled
org.anchoranalysis.io.output.bean.enabled.SpecificDisabled
All Implemented Interfaces:
SingleLevelOutputEnabled

public class SpecificDisabled
extends OutputEnabled
Only specific outputs, identified by a textual name, are disabled, and all others are enabled.
Author:
Owen Feehan
  • Constructor Summary

    Constructors 
    Constructor Description
    SpecificDisabled()  
    SpecificDisabled​(org.anchoranalysis.bean.primitive.StringSet outputsDisabled)  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.bean.primitive.StringSet getOutputsDisabled()
    The names of the outputs that are disbled.
    boolean isOutputEnabled​(String outputName)
    Is a particular a particular output-enabled?
    void setOutputsDisabled​(org.anchoranalysis.bean.primitive.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

    Methods inherited from class java.lang.Object

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

  • 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
    • getOutputsDisabled

      public org.anchoranalysis.bean.primitive.StringSet getOutputsDisabled()
      The names of the outputs that are disbled.
    • setOutputsDisabled

      public void setOutputsDisabled​(org.anchoranalysis.bean.primitive.StringSet outputsDisabled)
      The names of the outputs that are disbled.