org.apache.jdo.impl.enhancer
Class EnhancerOptions

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
                              extended byorg.apache.jdo.impl.enhancer.EnhancerOptions

public class EnhancerOptions
extends JdoMetaOptions

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 destDir
          The destination directory option.
 OptionSet.FlagOption dumpClass
          The dump class option.
 OptionSet.FlagOption forceWrite
          The force write option.
 OptionSet.FlagOption noAnnotate
          The suppress annotation option.
 OptionSet.FlagOption noAugment
          The suppress augmentation option.
 OptionSet.FlagOption noWrite
          The no write option.
 OptionSet.FlagOption quiet
          The quiet option.
 
Fields inherited from class org.apache.jdo.impl.enhancer.JdoMetaOptions
jdoPath, jdoPropertiesFile
 
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
EnhancerOptions(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

quiet

public final OptionSet.FlagOption quiet
The quiet option.


forceWrite

public final OptionSet.FlagOption forceWrite
The force write option.


noWrite

public final OptionSet.FlagOption noWrite
The no write option.


destDir

public final OptionSet.StringOption destDir
The destination directory option.


dumpClass

public final OptionSet.FlagOption dumpClass
The dump class option.


noAugment

public final OptionSet.FlagOption noAugment
The suppress augmentation option.


noAnnotate

public final OptionSet.FlagOption noAnnotate
The suppress annotation option.

Constructor Detail

EnhancerOptions

public EnhancerOptions(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 JdoMetaOptions

check

public int check()
Check options and arguments.

Overrides:
check in class JdoMetaOptions

main

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



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