org.ozoneDB.tools.OPP
Class OPP
java.lang.Object
org.ozoneDB.tools.OPP.OPP
- public class OPP
- extends java.lang.Object
Command line driver of the OPP tool.
- Version:
- $Revision$Date$2
- Author:
- SMB
Constructor Summary |
OPP()
|
Method Summary |
private void |
compileSource(java.io.File sourceDir,
java.io.File outputDir,
MessageWriter genListener,
java.util.Collection classes)
|
private void |
generate(java.util.Collection classes,
boolean preservePackageNames)
|
private java.util.Collection |
getModifiedNames(java.io.File sourceDir,
java.util.Collection classes,
java.lang.String postfix)
|
static void |
main(java.lang.String[] args)
|
protected void |
makeProxiesAndFactories(java.util.Collection classes,
java.io.File sourceDir,
java.io.File outputDir,
java.lang.String factoryPost,
java.lang.String proxyPost,
MessageWriter msgListener)
|
private void |
manipulateClass(java.lang.String className,
MessageWriter genListener)
|
protected static java.lang.String |
parentDirectoryName(java.lang.String directoryName,
int dotCount)
|
static void |
printUsage()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIGNATURE_DELIMITER
public static final java.lang.String SIGNATURE_DELIMITER
- See Also:
- Constant Field Values
UPDATE_SIGN
public static final java.lang.String UPDATE_SIGN
- Update methods can marked with the following in the lines following the method signature:
//update
- See Also:
- Constant Field Values
METHOD_PATTERN
public static final java.lang.String METHOD_PATTERN
- All method signatures in build interfaces must look as foollows,
otherwise OPP is unable to find them:
public package.return.Class[] methodname (
- See Also:
- Constant Field Values
JAVADOC_PATTERN
public static final java.lang.String JAVADOC_PATTERN
- Update methods can marked with the following tag in its appropriate Javadoc Comment:
"@update"
- See Also:
- Constant Field Values
keepSource
private boolean keepSource
compileSource
private boolean compileSource
outputDirName
private java.lang.String outputDirName
sourceDirName
private java.lang.String sourceDirName
msgOut
private StdOutMessageWriter msgOut
oppBean
private OPPBean oppBean
odmg
private boolean odmg
OPP
public OPP()
main
public static void main(java.lang.String[] args)
generate
private void generate(java.util.Collection classes,
boolean preservePackageNames)
manipulateClass
private void manipulateClass(java.lang.String className,
MessageWriter genListener)
throws java.lang.Exception
- Throws:
java.lang.Exception
compileSource
private void compileSource(java.io.File sourceDir,
java.io.File outputDir,
MessageWriter genListener,
java.util.Collection classes)
throws CompilerException
- Throws:
CompilerException
getModifiedNames
private java.util.Collection getModifiedNames(java.io.File sourceDir,
java.util.Collection classes,
java.lang.String postfix)
parentDirectoryName
protected static java.lang.String parentDirectoryName(java.lang.String directoryName,
int dotCount)
makeProxiesAndFactories
protected void makeProxiesAndFactories(java.util.Collection classes,
java.io.File sourceDir,
java.io.File outputDir,
java.lang.String factoryPost,
java.lang.String proxyPost,
MessageWriter msgListener)
throws java.lang.Exception
- Throws:
java.lang.Exception
printUsage
public static void printUsage()
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.