public class Option extends Object implements RevisionHandler
Typical usage:
Option myOption = new Option("Uses extended mode.", "E", 0, "-E"));
| Constructor and Description |
|---|
Option(String description,
String name,
int numArguments,
String synopsis)
Creates new option with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns the option's description.
|
String |
getRevision()
Returns the revision string.
|
String |
name()
Returns the option's name.
|
int |
numArguments()
Returns the option's number of arguments.
|
String |
synopsis()
Returns the option's synopsis.
|
public String description()
public String name()
public int numArguments()
public String synopsis()
public String getRevision()
getRevision in interface RevisionHandlerCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.