|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.upgrade.tool.ArgumentProcessor.ProcessedArguments
Inner class that stores the arguments, under the correct category. If there is a match to an argument it is processed and is classified as an option. If there is no match the argument's classification remains as an argument.
Field Summary | |
private ArrayList |
arguments_
|
private HashMap |
options_
|
Constructor Summary | |
private |
ArgumentProcessor.ProcessedArguments()
|
Method Summary | |
private void |
addArgument(String arg)
When argument(s) provided by the user does not match any of the values in the option list. |
String[] |
getArguments()
Retrieves the values of arguments that were entered and were not stored as an option. |
Object |
getOption(String opt_name)
Retrieves the value of the specified option. |
String[] |
getSelectedOptionNames()
Retrieves all the values that are options. |
boolean |
isOptionSet(String opt_name)
Checks if the argument with the specified name is an option. |
private void |
setOption(String opt_name,
Object opt_value)
The argument(s) provided by the user matches the values in the option list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ArrayList arguments_
private HashMap options_
Constructor Detail |
private ArgumentProcessor.ProcessedArguments()
Method Detail |
private void addArgument(String arg)
private void setOption(String opt_name, Object opt_value)
public String[] getArguments()
public Object getOption(String opt_name)
public boolean isOptionSet(String opt_name)
public String[] getSelectedOptionNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |