org.apache.jackrabbit.command.cli
Class Argument

java.lang.Object
  extended byorg.apache.jackrabbit.command.cli.AbstractParameter
      extended byorg.apache.jackrabbit.command.cli.Option
          extended byorg.apache.jackrabbit.command.cli.Argument
All Implemented Interfaces:
Cloneable

public class Argument
extends Option

Command line argument


Field Summary
 
Fields inherited from class org.apache.jackrabbit.command.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.command.cli.Option
clone, getArgName, getLocalizedArgName, getLocalizedDescription, isRequired, setArgName, setRequired
 
Methods inherited from class org.apache.jackrabbit.command.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 © 2005 . All Rights Reserved.