public class Option
extends java.lang.Object
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
Option |
description(java.lang.String description) |
Option |
hasArg() |
Option |
hasArg(java.lang.String argLabel) |
Option |
label(java.lang.String label) |
Option |
longName(java.lang.String longName) |
Option |
names(java.lang.String shortName,
java.lang.String longName) |
Option |
shortName(java.lang.String shortName) |
java.lang.String |
toString() |
Option |
with(java.util.function.Consumer<java.lang.String> consumer) |
public Option shortName(java.lang.String shortName)
public Option longName(java.lang.String longName)
public Option names(java.lang.String shortName, java.lang.String longName)
public Option description(java.lang.String description)
public Option hasArg()
public Option hasArg(java.lang.String argLabel)
public Option label(java.lang.String label)
public Option with(java.util.function.Consumer<java.lang.String> consumer)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-present Jodd Team