org.apache.jackrabbit.standalone.cli
Class Argument

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.AbstractParameter
      extended by org.apache.jackrabbit.standalone.cli.Option
          extended by org.apache.jackrabbit.standalone.cli.Argument
All Implemented Interfaces:
Cloneable

public class Argument
extends Option

Command line argument


Field Summary
 
Fields inherited from class org.apache.jackrabbit.standalone.cli.AbstractParameter
bundle
 
Constructor Summary
Argument()
           
 
Method Summary
 Object clone()
          
 int getPosition()
           
 void setPosition(int position)
          sets the argument position
 
Methods inherited from class org.apache.jackrabbit.standalone.cli.Option
clone, getArgName, getLocalizedArgName, getLocalizedDescription, isRequired, setArgName, setRequired
 
Methods inherited from class org.apache.jackrabbit.standalone.cli.AbstractParameter
clone, getContextKey, getDescription, getLongName, getName, getValue, setContextKey, setDescription, setLongName, setName, setValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Argument

public Argument()
Method Detail

getPosition

public int getPosition()
Returns:
the position

setPosition

public void setPosition(int position)
sets the argument position

Parameters:
position - the position

clone

public Object clone()
Description copied from class: Option

Overrides:
clone in class Option
Returns:
a clone


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.