Class 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 Details

    • SpecificDisabled

      public SpecificDisabled()
    • SpecificDisabled

      public SpecificDisabled(StringSet outputsDisabled)
      Creates a new SpecificDisabled instance.
      Parameters:
      outputsDisabled - The names of the outputs that are disbled.
  • 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 StringSet getOutputsDisabled()
      The names of the outputs that are disbled.
    • setOutputsDisabled

      public void setOutputsDisabled(StringSet outputsDisabled)
      The names of the outputs that are disbled.