public class JavaCLIParser extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
classOptionNamesToPreparedObjects
Dictionary with option texts and objects
|
Object |
handler |
protected Options |
options
Options to handle
|
Constructor and Description |
---|
JavaCLIParser(Object c,
String cliString) |
Modifier and Type | Method and Description |
---|---|
Option[] |
discoverOptionsViaReflection()
Gets the options of this class via reflection.
|
Options |
getOptions() |
String |
getPurposeString() |
void |
prepareClassOptions()
Prepares the options of this class.
|
public String getPurposeString()
public Options getOptions()
public Option[] discoverOptionsViaReflection()
public void prepareClassOptions()
monitor
- the TaskMonitor to userepository
- the ObjectRepository to useCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.