Enhydra 5.1 API

org.enhydra.tool.codegen
Class ProjectOptionSet

java.lang.Object
  |
  +--org.enhydra.tool.codegen.OptionSet
        |
        +--org.enhydra.tool.codegen.ProjectOptionSet
All Implemented Interfaces:
Constants
Direct Known Subclasses:
AppOptionSet, ServiceOptionSet

public abstract class ProjectOptionSet
extends OptionSet
implements Constants

This class instantiates a set of default GeneratorOptions during initialization. The default options include: project, d, package copywrite, copywritefile, make, script, j2ee and overwrite.


Field Summary
static java.lang.String COPYRIGHT
          Property name for the copyright option.
static java.lang.String COPYRIGHTFILE
          Property name for the copyright file option.
static java.lang.String NOCLI
          Property name for the script option.
static java.lang.String OVERWRITE
          Property name for the overwrite option.
static java.lang.String PACKAGE
          Property name for the package option.
static java.lang.String PROJECT
          Property name for the project name option.
static java.lang.String ROOT
          Property name for the destintation option
 
Fields inherited from class org.enhydra.tool.codegen.OptionSet
res
 
Fields inherited from interface org.enhydra.tool.codegen.Constants
CLIENT_SUFFIX, CONTENT_HTML, CONTENT_WML, DIR_AT_PACKAGE_DIR_AT, DIR_INPUT, DIR_LIB, DIR_MEDIA, DIR_OUTPUT, DIR_PRESENTATION, DIR_RESOURCES, DIR_SRC, DIR_TEMPLATE, DIR_TOOL, FILE_BUILD_XML, FILE_ENHYDRA_JAR, FILE_MAKEFILE, FILE_README_HTML, FILE_RUN_BAT_IN, FILE_RUN_IN, SYS_JAVA_VENDOR, SYS_JAVA_VERSION, SYS_USER_HOME, TAB4, TYPE_BAT, TYPE_CONF, TYPE_HTML, TYPE_IN, TYPE_JAVA, TYPE_MK, TYPE_TEMPLATE, TYPE_WML, TYPE_XML, XMLC_DEFAULT, XMLC_SUFFIX
 
Constructor Summary
ProjectOptionSet()
          Create a default set of options.
 
Methods inherited from class org.enhydra.tool.codegen.OptionSet
add, delete, lookup, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT

public static final java.lang.String PROJECT
Property name for the project name option.

See Also:
Constant Field Values

ROOT

public static final java.lang.String ROOT
Property name for the destintation option

See Also:
Constant Field Values

PACKAGE

public static final java.lang.String PACKAGE
Property name for the package option.

See Also:
Constant Field Values

COPYRIGHT

public static final java.lang.String COPYRIGHT
Property name for the copyright option.

See Also:
Constant Field Values

COPYRIGHTFILE

public static final java.lang.String COPYRIGHTFILE
Property name for the copyright file option.

See Also:
Constant Field Values

NOCLI

public static final java.lang.String NOCLI
Property name for the script option.

See Also:
Constant Field Values

OVERWRITE

public static final java.lang.String OVERWRITE
Property name for the overwrite option.

See Also:
Constant Field Values
Constructor Detail

ProjectOptionSet

public ProjectOptionSet()
Create a default set of options. This is a convenience class that can be used as the basis for building custom option set within a generator.


Enhydra 5.1 API