org.apache.jdo.impl.enhancer
Class JdoMetaOptions

java.lang.Object
  extended byorg.apache.jdo.impl.enhancer.util.Assertion
      extended byorg.apache.jdo.impl.enhancer.util.Support
          extended byorg.apache.jdo.impl.enhancer.LogSupport
              extended byorg.apache.jdo.impl.enhancer.OptionSet
                  extended byorg.apache.jdo.impl.enhancer.GenericOptions
                      extended byorg.apache.jdo.impl.enhancer.ClassArgOptions
                          extended byorg.apache.jdo.impl.enhancer.JdoMetaOptions
Direct Known Subclasses:
EnhancerOptions

public class JdoMetaOptions
extends ClassArgOptions

Set of options used by the JDO enhancer and its test programs.

Author:
Martin Zaun

Nested Class Summary
 
Nested classes inherited from class org.apache.jdo.impl.enhancer.OptionSet
OptionSet.FlagOption, OptionSet.HelpOption, OptionSet.IntOption, OptionSet.Option, OptionSet.StringOption
 
Field Summary
 OptionSet.StringOption jdoPath
          The jdo path option.
 OptionSet.StringOption jdoPropertiesFile
          The jdo properties option.
 
Fields inherited from class org.apache.jdo.impl.enhancer.ClassArgOptions
archiveFileNames, classFileNames, classNames, sourcePath
 
Fields inherited from class org.apache.jdo.impl.enhancer.GenericOptions
doTiming, help, verbose
 
Fields inherited from class org.apache.jdo.impl.enhancer.OptionSet
abbrevs, arguments, argumentsHeader, err, indent, lprefix, names, OK, options, optionsHeader, out, prefix, returnHeader, USAGE_ERROR, usageHeader
 
Fields inherited from class org.apache.jdo.impl.enhancer.util.Support
timer
 
Constructor Summary
JdoMetaOptions(java.io.PrintWriter out, java.io.PrintWriter err)
          Creates an instance.
 
Method Summary
 int check()
          Check options and arguments.
static void main(java.lang.String[] args)
          Tests the class.
 void printUsageHeader()
          Print a usage message to System.err.
 
Methods inherited from class org.apache.jdo.impl.enhancer.ClassArgOptions
printArguments, printArgumentUsage, printListArgument
 
Methods inherited from class org.apache.jdo.impl.enhancer.OptionSet
createFlagOption, createFlagOption, createHelpOption, createIntOption, createIntOption, createStringOption, createStringOption, flush, parse, print, printAll, printArgumentHeader, println, println, printlnErr, printlnErr, printlnErr, printlnErr, printOptionHeader, printOptions, printOptionUsage, printReturnHeader, printReturnUsage, printUsage, printUsageError, process, register
 
Methods inherited from class org.apache.jdo.impl.enhancer.util.Support
getI18N, getI18N, getI18N, getI18N, getI18N, getI18N
 
Methods inherited from class org.apache.jdo.impl.enhancer.util.Assertion
affirm, affirm, affirm, affirm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jdoPath

public final OptionSet.StringOption jdoPath
The jdo path option.


jdoPropertiesFile

public final OptionSet.StringOption jdoPropertiesFile
The jdo properties option.

Constructor Detail

JdoMetaOptions

public JdoMetaOptions(java.io.PrintWriter out,
                      java.io.PrintWriter err)
Creates an instance.

Method Detail

printUsageHeader

public void printUsageHeader()
Print a usage message to System.err.

Overrides:
printUsageHeader in class ClassArgOptions

check

public int check()
Check options and arguments.

Overrides:
check in class ClassArgOptions

main

public static void main(java.lang.String[] args)
Tests the class.



Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.