|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CommandlineFragment | |
|---|---|
| org.apache.ode.utils.cli |
Contains libraries for handling commandline arguments (i.e., the String[] passed-in by a main method). |
| Uses of CommandlineFragment in org.apache.ode.utils.cli |
|---|
| Classes in org.apache.ode.utils.cli that implement CommandlineFragment | |
|---|---|
class |
Argument
Models an argument, e.g., the baz in foo baz,
where foo is the command. |
class |
Flag
|
class |
FlagWithArgument
A fragment that represents a flag with an argument, e.g., --foo bar. |
class |
LastArgument
A fragment implementation that picks-off the last argument on the line early. |
class |
MultiArgument
A multiple argument commandline fragment that greedily consumes what's left on the commandline as arguments. |
class |
XorGroup
|
| Methods in org.apache.ode.utils.cli that return CommandlineFragment | |
|---|---|
CommandlineFragment[] |
Fragments.getFragments()
Used after the Fragments.matches(String[]) method, this returns the fragments
together with the settings that they have absorbed from the arguments. |
CommandlineFragment[] |
Fragments.getFragmentsInUserOrder()
For use in formatting commandline help, this method orders the constituent fragments in a way that would make sense to a user. |
CommandlineFragment |
XorGroup.getMatched()
|
| Methods in org.apache.ode.utils.cli with parameters of type CommandlineFragment | |
|---|---|
void |
XorGroup.addFragment(CommandlineFragment frag)
|
| Constructors in org.apache.ode.utils.cli with parameters of type CommandlineFragment | |
|---|---|
Fragments(CommandlineFragment[] frags)
Create a new instance. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||