Class OutputWriter.OutputWriterSettings

java.lang.Object
org.moeaframework.analysis.io.OutputWriter.OutputWriterSettings
Direct Known Subclasses:
MetricFileWriter.MetricFileWriterSettings, ResultFileWriter.ResultFileWriterSettings
Enclosing interface:
OutputWriter

public static class OutputWriter.OutputWriterSettings extends Object
Common settings when creating an output writer.
  • Field Details

    • append

      protected final boolean append
      true when in append mode (the default), false otherwise.
  • Constructor Details

    • OutputWriterSettings

      public OutputWriterSettings()
      Constructs the default settings object.
    • OutputWriterSettings

      public OutputWriterSettings(Optional<Boolean> append)
      Constructs a new settings object.
      Parameters:
      append - true to enable append mode, false otherwise
  • Method Details

    • isAppend

      public boolean isAppend()
      Returns true when in append mode (the default), false otherwise.
      Returns:
      true when in append mode (the default), false otherwise