Enhydra 5.1 API

org.enhydra.tool.configure
Class ConfigTool

java.lang.Object
  |
  +--org.enhydra.tool.common.TemplateTool
        |
        +--org.enhydra.tool.configure.ConfigTool
All Implemented Interfaces:
Constants

public class ConfigTool
extends TemplateTool
implements Constants


Field Summary
static java.lang.String DEPLOY_PATH
           
static java.lang.String ENHYDRA_PATH
           
static java.lang.String JAVA_PATH
           
static java.lang.String[] PATHS
           
static java.lang.String PROJECT_PATH
           
 
Fields inherited from interface org.enhydra.tool.configure.Constants
DIR_INPUT, DIR_OUTPUT, TYPE_IN
 
Constructor Summary
ConfigTool()
           
 
Method Summary
 void configure()
           
 java.io.File[] createOutput()
           
static Replacement[] createReplacements(java.lang.String deployPath)
           
static Replacement[] createReplacements(java.lang.String appRoot, java.lang.String deployPath, java.lang.String javaHome)
           
static java.lang.String[][] createReplacementStringArray(java.lang.String appRoot, java.lang.String deployPath, java.lang.String javaP)
           
 java.lang.String getAppPath()
           
 java.lang.String getEnhydraRoot()
           
 java.lang.String getJavaPath()
           
static java.lang.String[] getSuffixArray()
           
 void initReplacements(java.lang.String[][] strings)
           
 boolean isTransformPath()
           
 void setAppPath(java.lang.String p)
           
 void setEnhydraRoot(java.lang.String p)
           
 void setJavaPath(java.lang.String p)
           
 void setTransformPath(boolean b)
           
 
Methods inherited from class org.enhydra.tool.common.TemplateTool
addTemplateListener, echoWrite, echoWrite, getEchoWriter, getInitDestination, getInitExtensions, getOwner, getReplacements, getTemplateListeners, getTemplates, initOutput, initTemplates, initTemplates, isEcho, isOverwrite, isSwing, lineSearchAndReplace, removeTemplateListener, setEcho, setEchoWriter, setInitDestination, setInitExtensions, setOverwrite, setOwner, setReplacements, setTemplates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROJECT_PATH

public static final java.lang.String PROJECT_PATH
See Also:
Constant Field Values

JAVA_PATH

public static final java.lang.String JAVA_PATH
See Also:
Constant Field Values

DEPLOY_PATH

public static final java.lang.String DEPLOY_PATH
See Also:
Constant Field Values

ENHYDRA_PATH

public static final java.lang.String ENHYDRA_PATH
See Also:
Constant Field Values

PATHS

public static final java.lang.String[] PATHS
Constructor Detail

ConfigTool

public ConfigTool()
Method Detail

createReplacements

public static Replacement[] createReplacements(java.lang.String appRoot,
                                               java.lang.String deployPath,
                                               java.lang.String javaHome)
                                        throws ConfigException
ConfigException

getSuffixArray

public static java.lang.String[] getSuffixArray()

createReplacements

public static Replacement[] createReplacements(java.lang.String deployPath)
                                        throws ConfigException
ConfigException

createReplacementStringArray

public static java.lang.String[][] createReplacementStringArray(java.lang.String appRoot,
                                                                java.lang.String deployPath,
                                                                java.lang.String javaP)
                                                         throws ConfigException
ConfigException

createOutput

public java.io.File[] createOutput()
                            throws ToolException
Overrides:
createOutput in class TemplateTool
ToolException

isTransformPath

public boolean isTransformPath()

setTransformPath

public void setTransformPath(boolean b)

getAppPath

public java.lang.String getAppPath()

setAppPath

public void setAppPath(java.lang.String p)

getEnhydraRoot

public java.lang.String getEnhydraRoot()

setEnhydraRoot

public void setEnhydraRoot(java.lang.String p)

getJavaPath

public java.lang.String getJavaPath()

setJavaPath

public void setJavaPath(java.lang.String p)

configure

public void configure()
               throws ConfigException
ConfigException

initReplacements

public void initReplacements(java.lang.String[][] strings)
                      throws ConfigException
ConfigException

Enhydra 5.1 API