|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.enhancer.util.Assertion
org.apache.jdo.impl.enhancer.util.Support
org.apache.jdo.impl.enhancer.OptionSet
org.apache.jdo.impl.enhancer.GenericOptions
org.apache.jdo.impl.enhancer.ClassArgOptions
org.apache.jdo.impl.enhancer.JdoMetaOptions
org.apache.jdo.impl.enhancer.EnhancerOptions
public class EnhancerOptions
Set of options used by the JDO enhancer and its test programs.
Nested Class Summary |
---|
Nested classes/interfaces 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. |
protected java.io.PrintWriter |
err
The stream to write error messages to. |
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. |
protected java.io.PrintWriter |
out
The stream to write messages to. |
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, indent, lprefix, names, OK, options, optionsHeader, 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. |
protected void |
flush()
Flushes streams. |
static void |
main(java.lang.String[] args)
Tests the class. |
protected void |
print(java.lang.String msg)
Prints out a message. |
protected void |
println()
Prints out a message. |
protected void |
println(java.lang.String msg)
Prints out a message. |
protected void |
printlnErr()
Prints out an error message. |
protected void |
printlnErr(java.lang.String msg)
Prints out an error message. |
protected void |
printlnErr(java.lang.String msg,
java.lang.Throwable ex)
Prints out an error message. |
protected void |
printlnErr(java.lang.String msg,
java.lang.Throwable ex,
boolean verbose)
Prints out an error message. |
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, parse, printAll, printArgumentHeader, 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 |
---|
public final OptionSet.FlagOption quiet
public final OptionSet.FlagOption forceWrite
public final OptionSet.FlagOption noWrite
public final OptionSet.StringOption destDir
public final OptionSet.FlagOption dumpClass
public final OptionSet.FlagOption noAugment
public final OptionSet.FlagOption noAnnotate
protected final java.io.PrintWriter out
protected final java.io.PrintWriter err
Constructor Detail |
---|
public EnhancerOptions(java.io.PrintWriter out, java.io.PrintWriter err)
Method Detail |
---|
public void printUsageHeader()
printUsageHeader
in class JdoMetaOptions
public int check()
check
in class JdoMetaOptions
public static void main(java.lang.String[] args)
protected void printlnErr(java.lang.String msg, java.lang.Throwable ex, boolean verbose)
protected void printlnErr(java.lang.String msg, java.lang.Throwable ex)
protected void printlnErr(java.lang.String msg)
protected void printlnErr()
protected void print(java.lang.String msg)
protected void println(java.lang.String msg)
protected void println()
protected void flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |