Package org.moeaframework.analysis.io
Class OutputWriter.OutputWriterSettings
java.lang.Object
org.moeaframework.analysis.io.OutputWriter.OutputWriterSettings
- Direct Known Subclasses:
MetricFileWriter.MetricFileWriterSettings
,ResultFileWriter.ResultFileWriterSettings
- Enclosing interface:
- OutputWriter
Common settings when creating an output writer.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
true
when in append mode (the default),false
otherwise. -
Constructor Summary
ConstructorDescriptionConstructs the default settings object.OutputWriterSettings
(Optional<Boolean> append) Constructs a new settings object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAppend()
Returnstrue
when in append mode (the default),false
otherwise.
-
Field Details
-
append
protected final boolean appendtrue
when in append mode (the default),false
otherwise.
-
-
Constructor Details
-
OutputWriterSettings
public OutputWriterSettings()Constructs the default settings object. -
OutputWriterSettings
Constructs a new settings object.- Parameters:
append
-true
to enable append mode,false
otherwise
-
-
Method Details
-
isAppend
public boolean isAppend()Returnstrue
when in append mode (the default),false
otherwise.- Returns:
true
when in append mode (the default),false
otherwise
-