org.apache.maven.it.util.cli
Class Commandline.Marker

java.lang.Object
  extended by org.apache.maven.it.util.cli.Commandline.Marker
Enclosing class:
Commandline

public class Commandline.Marker
extends java.lang.Object

Class to keep track of the position of an Argument.


Field Summary
private  int position
           
private  int realPos
           
 
Constructor Summary
Commandline.Marker(int position)
           
 
Method Summary
 int getPosition()
          Return the number of arguments that preceeded this marker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

private int position

realPos

private int realPos
Constructor Detail

Commandline.Marker

Commandline.Marker(int position)
Method Detail

getPosition

public int getPosition()
Return the number of arguments that preceeded this marker.

The name of the executable - if set - is counted as the very first argument.