SmartFrog 3.10.000

org.smartfrog.sfcore.common
Class OptionSet

java.lang.Object
  extended by org.smartfrog.sfcore.common.OptionSet

public class OptionSet
extends java.lang.Object

Parses the SFSystem arguments into an option set. Options are seperated by optionFlagIndicator characters.


Field Summary
 java.util.Vector cfgDescriptors
          Vector for configurationDescriptors to be deployed.
 boolean diagnostics
          Flag indicating if diagnostics was requested.
 java.lang.String errorString
          Error string for SFSystem.
 boolean exit
          Flag indicating the exit status of the application.
 int exitCode
          ExitCode for SFSystem.
 java.lang.String help
          Help string for SFSystem.
 java.lang.String host
          Hostname where the description is to be deployed.
protected  char optionFlagIndicator
          Character indicating the start of each option.
protected  byte optionLength
          Length of each option.
 java.lang.String subprocess
          Processname where the description is to be deployed.
 java.lang.String usage
          Usage string for SFSystem.
 
Constructor Summary
OptionSet(java.lang.String[] args)
          Creates an OptionSet from an array of arguments.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

optionFlagIndicator

protected char optionFlagIndicator
Character indicating the start of each option.


optionLength

protected byte optionLength
Length of each option.


usage

public java.lang.String usage
Usage string for SFSystem.


help

public java.lang.String help
Help string for SFSystem.


errorString

public java.lang.String errorString
Error string for SFSystem.


exitCode

public int exitCode
ExitCode for SFSystem.


host

public java.lang.String host
Hostname where the description is to be deployed.


subprocess

public java.lang.String subprocess
Processname where the description is to be deployed.


cfgDescriptors

public java.util.Vector cfgDescriptors
Vector for configurationDescriptors to be deployed.


exit

public boolean exit
Flag indicating the exit status of the application.


diagnostics

public boolean diagnostics
Flag indicating if diagnostics was requested.

Constructor Detail

OptionSet

public OptionSet(java.lang.String[] args)
Creates an OptionSet from an array of arguments.

Parameters:
args - arguments to create from

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP