Class Commandline.Marker

java.lang.Object
org.codehaus.plexus.util.cli.Commandline.Marker
Enclosing class:
Commandline

public class Commandline.Marker extends Object
Class to keep track of the position of an Argument.
  • 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.