public class MandatoryNamedArg extends Object implements NamedArgument
| Constructor and Description |
|---|
MandatoryNamedArg(String name,
String exampleValue,
String description) |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
An explanation of the option in the options list.
|
String |
exampleValue()
Example value listed in usage between brackets like '--name=
|
String |
name()
Name of the option as in '--name=
|
String |
optionsListing()
Represents the option in the options list.
|
String |
parse(org.neo4j.helpers.Args parsedArgs)
Parses the option (or possible default value) out of program arguments.
|
Collection<String> |
parseMultiple(org.neo4j.helpers.Args parsedArgs)
Parses the option (or possible default value) out of program arguments.
|
String |
usage()
Represents the option in the usage string.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithaspublic String optionsListing()
NamedArgumentoptionsListing in interface NamedArgumentpublic String usage()
NamedArgumentusage in interface NamedArgumentpublic String description()
NamedArgumentdescription in interface NamedArgumentpublic String name()
NamedArgumentname in interface NamedArgumentpublic String exampleValue()
NamedArgumentexampleValue in interface NamedArgumentpublic String parse(org.neo4j.helpers.Args parsedArgs)
NamedArgumentparse in interface NamedArgumentpublic Collection<String> parseMultiple(org.neo4j.helpers.Args parsedArgs)
NamedArgumentparseMultiple in interface NamedArgumentCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.