com.tensegrity.generic.util
Class CommandLinePossibleValues

java.lang.Object
  extended bycom.tensegrity.generic.util.CommandLinePossibleValues

public final class CommandLinePossibleValues
extends java.lang.Object

Structure to hold the possible value and description for all parameters that can be passed as command line arguments or applet parameters to an application

Version:
$Id: CommandLinePossibleValues.java,v 1.4 2004/08/06 12:38:37 AndreasEbbert Exp $
Author:
BurkhardWick

Constructor Summary
CommandLinePossibleValues()
          Empty default constructor for the CommandLinePossibleValues class.
 
Method Summary
 void addParameter(java.lang.String name, boolean mandatory, java.lang.Object defValue, java.lang.String description)
          Adds a parameter with the given information.
protected  java.lang.Object[][] getData()
          Returns the Object array structure that is used by the CommandLine class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLinePossibleValues

public CommandLinePossibleValues()
Empty default constructor for the CommandLinePossibleValues class.

Method Detail

addParameter

public final void addParameter(java.lang.String name,
                               boolean mandatory,
                               java.lang.Object defValue,
                               java.lang.String description)
Adds a parameter with the given information.

Parameters:
name - The name of the parameter
mandatory - True, if this parameter is mandatory and can not be omitted
defValue - The default value, if this parameter has been omitted
description - A short description of the meaning of this parameter

getData

protected final java.lang.Object[][] getData()
Returns the Object array structure that is used by the CommandLine class.

Returns:
the Object array structure that is used by the CommandLine class.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.