fabric.store
Class Options

java.lang.Object
  extended by fabric.common.Options
      extended by fabric.store.Options

public class Options
extends Options


Field Summary
 java.lang.String storeName
          The name of the store.
 int threadPool
           
 int timeout
           
 
Fields inherited from class fabric.common.Options
DEBUG_NO_SSL, USAGE_FLAG_WIDTH, USAGE_SCREEN_WIDTH
 
Constructor Summary
Options(java.lang.String[] args)
           
 
Method Summary
protected  int parseCommand(java.lang.String[] args, int index)
          Parse a command.
 void setDefaultValues()
           
static void usage(java.io.PrintStream out)
           
 void validateOptions()
           
 
Methods inherited from class fabric.common.Options
parseCommandLine, usageForFlag, usageForFlag, usageForFlag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storeName

public java.lang.String storeName
The name of the store.


threadPool

public int threadPool

timeout

public int timeout
Constructor Detail

Options

public Options(java.lang.String[] args)
        throws UsageError
Throws:
UsageError
Method Detail

setDefaultValues

public void setDefaultValues()
Specified by:
setDefaultValues in class Options

validateOptions

public void validateOptions()
                     throws UsageError
Specified by:
validateOptions in class Options
Throws:
UsageError

usage

public static void usage(java.io.PrintStream out)

parseCommand

protected int parseCommand(java.lang.String[] args,
                           int index)
                    throws UsageError
Parse a command.

Specified by:
parseCommand in class Options
Returns:
the next index to process. i.e., if calling this method processes two commands, then the return value should be index+2.
Throws:
UsageError