public static class CliParser.Argument
extends java.lang.Object
| Constructor and Description |
|---|
Argument()
Constructs an empty argument
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
CliParser.Argument |
withArgument(java.lang.String name)
Set the name of the value for this argument
|
CliParser.Argument |
withDescription(java.lang.String description)
Set the description for this argument
|
CliParser.Argument |
withLongName(java.lang.String name)
Set the short name of the argument
|
CliParser.Argument |
withShortName(java.lang.String name)
Set the short name of the argument
|
public CliParser.Argument withShortName(java.lang.String name)
name - The short namepublic CliParser.Argument withLongName(java.lang.String name)
name - The short namepublic CliParser.Argument withDescription(java.lang.String description)
description - The descriptionpublic CliParser.Argument withArgument(java.lang.String name)
name - The name of the valuepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © Sylvain HallĂ©. All Rights Reserved.