Class WithoutOutputNameStyle

Object
OutputNameStyle
WithoutOutputNameStyle
All Implemented Interfaces:
Serializable

public class WithoutOutputNameStyle extends OutputNameStyle
Avoids including an output-name in the filename.
Author:
Owen Feehan
See Also:
  • Constructor Details

    • WithoutOutputNameStyle

      public WithoutOutputNameStyle(String outputName)
      Creates with an output-name.
      Parameters:
      outputName - an identifier used in rules to determine if an output is enabled or not.
  • Method Details

    • filenameWithoutExtension

      public Optional<String> filenameWithoutExtension()
      Description copied from class: OutputNameStyle
      The filename to be written, including prefix, suffix, etc. but excluding extension (and any period before the extension).
      Specified by:
      filenameWithoutExtension in class OutputNameStyle
      Returns:
      the filename (without an extension, including without the period before the extension), if one is defined. If one is not defined, the output is expected to occur without any filename.
    • duplicate

      public OutputNameStyle duplicate()
      Description copied from class: OutputNameStyle
      Deep copy the current object.
      Specified by:
      duplicate in class OutputNameStyle
      Returns:
      a newly created copy.