- java.lang.Object
-
- swim.codec.InputSettings
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isStripped
-
Constructor Summary
Constructors Modifier Constructor Description protected
InputSettings(boolean isStripped)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
protected InputSettings
copy(boolean isStripped)
static InputSettings
create(boolean isStripped)
ReturnsInputSettings
configured to not include diagnostic metadata in generated output, ifisStripped
istrue
.<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
int
hashCode()
boolean
isStripped()
Returnstrue
if input consumers should not include diagnostic metadata in generated output.InputSettings
isStripped(boolean isStripped)
Returns a copy of these settings with the givenisStripped
flag.static InputSettings
standard()
ReturnsInputSettings
configured to include diagnostic metadata in generated output.static InputSettings
stripped()
ReturnsInputSettings
configured to not include diagnostic metadata in generated output.String
toString()
-
-
-
Method Detail
-
isStripped
public final boolean isStripped()
Returnstrue
if input consumers should not include diagnostic metadata in generated output.
-
isStripped
public InputSettings isStripped(boolean isStripped)
Returns a copy of these settings with the givenisStripped
flag.
-
copy
protected InputSettings copy(boolean isStripped)
-
canEqual
protected boolean canEqual(Object other)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
standard
public static final InputSettings standard()
ReturnsInputSettings
configured to include diagnostic metadata in generated output.
-
stripped
public static final InputSettings stripped()
ReturnsInputSettings
configured to not include diagnostic metadata in generated output.
-
create
public static final InputSettings create(boolean isStripped)
ReturnsInputSettings
configured to not include diagnostic metadata in generated output, ifisStripped
istrue
.
-
-