Class All

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

public class All
extends OutputEnabled
All outputs are allowed irrespective of outputName.
Author:
Owen Feehan
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static OutputEnabled INSTANCE
    A singleton instance of All.
  • Method Summary

    Modifier and Type Method Description
    boolean isOutputEnabled​(String outputName)
    Is a particular a particular output-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
  • Field Details

    • INSTANCE

      public static final OutputEnabled INSTANCE
      A singleton instance of All.

      The class retains a public constructor so it can also be instantiated as a bean.

  • 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