Package org.codehaus.plexus.util.cli
Class Commandline.Marker
java.lang.Object
org.codehaus.plexus.util.cli.Commandline.Marker
- Enclosing class:
- Commandline
Class to keep track of the position of an Argument.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Return the number of arguments that preceded this marker.
-
Field Details
-
position
private int position -
realPos
private int realPos
-
-
Constructor Details
-
Marker
Marker(int position)
-
-
Method Details
-
getPosition
public int getPosition()Return the number of arguments that preceded this marker.
The name of the executable - if set - is counted as the very first argument.
-