- java.lang.Object
-
- swim.args.Arg
-
-
Method Summary
Modifier and Type Method Description boolean
canEqual(Object other)
Arg
clone()
void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
int
hashCode()
String
name()
static Arg
of(String name)
static Arg
of(String name, String value)
static Arg
of(String name, String value, boolean optional)
boolean
optional()
Arg
optional(boolean optional)
String
toString()
String
value()
Arg
value(String value)
-
-
-
Method Detail
-
name
public String name()
-
value
public String value()
-
optional
public boolean optional()
-
optional
public Arg optional(boolean optional)
-
canEqual
public boolean canEqual(Object other)
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-