org.openmdx.compatibility.base.application.spi
Class CommandOptions_1.Option

java.lang.Object
  extended by org.openmdx.compatibility.base.application.cci.ConfigurationSpecifier
      extended by org.openmdx.compatibility.base.application.spi.CommandOptions_1.Option
Enclosing class:
CommandOptions_1

Deprecated.

public static class CommandOptions_1.Option
extends ConfigurationSpecifier

Class to declare the application's options


Field Summary
 
Fields inherited from class org.openmdx.compatibility.base.application.cci.ConfigurationSpecifier
defaults, maximum, minimum, required, sensitive, usage
 
Constructor Summary
CommandOptions_1.Option(String id, String usage)
          Deprecated.  
CommandOptions_1.Option(String id, String usage, boolean required, int minimum, int maximum)
          Deprecated.  
CommandOptions_1.Option(String id, String usage, boolean required, int minimum, int maximum, boolean sensitive)
          Deprecated.  
CommandOptions_1.Option(String id, String usage, String[] defaults, int minimum, int maximum)
          Deprecated.  
CommandOptions_1.Option(String id, String usage, String[] defaults, int minimum, int maximum, boolean sensitive)
          Deprecated.  
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandOptions_1.Option

public CommandOptions_1.Option(String id,
                               String usage,
                               boolean required,
                               int minimum,
                               int maximum,
                               boolean sensitive)
Deprecated. 

Option declaration

Parameters:
id - The (long or short) option's id.
usage - The part of the usage string associated with this specific option.
required - Defines whether the option is required.
minimum - Defines the minimal number of arguments for this option.
maximum - Defines the maximal number of arguments for this option. Integer.MAX_VALUE indicates no limit.
sensitive - Sensitive options are not logged by the application framework.

CommandOptions_1.Option

public CommandOptions_1.Option(String id,
                               String usage,
                               boolean required,
                               int minimum,
                               int maximum)
Deprecated. 

Option declaration

Parameters:
id - The (long or short) option's id.
usage - The part of the usage string associated with this specific option.
required - Defines whether the option is required.
minimum - Defines the minimal number of arguments for this option.
maximum - Defines the maximal number of arguments for this option. Integer.MAX_VALUE indicates no limit.

CommandOptions_1.Option

public CommandOptions_1.Option(String id,
                               String usage,
                               String[] defaults,
                               int minimum,
                               int maximum,
                               boolean sensitive)
Deprecated. 

Option declaration

Parameters:
id - The (long or short) option's id.
usage - The part of the usage string associated with this specific option.
defaults - The default argument values in case the option is not explicitely given.
minimum - Defines the minimal number of arguments for this option.
maximum - Defines the maximal number of arguments for this option. Integer.MAX_VALUE indicates no limit.
sensitive - Sensitive options are not logged by the application framework.

CommandOptions_1.Option

public CommandOptions_1.Option(String id,
                               String usage,
                               String[] defaults,
                               int minimum,
                               int maximum)
Deprecated. 

Option declaration

Parameters:
id - The (long or short) option's id.
usage - The part of the usage string associated with this specific option.
defaults - The default argument values in case the option is not explicitely given.
minimum - Defines the minimal number of arguments for this option.
maximum - Defines the maximal number of arguments for this option. Integer.MAX_VALUE indicates no limit.

CommandOptions_1.Option

public CommandOptions_1.Option(String id,
                               String usage)
Deprecated. 

Flag declaration

Parameters:
id - The (long or short) option's id.
usage - The part of the usage string associated with this specific option.


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.