Class DefaultTorqueGeneratorPaths
- java.lang.Object
-
- org.apache.torque.generator.configuration.paths.DefaultTorqueGeneratorPaths
-
- All Implemented Interfaces:
TorqueGeneratorPaths
public class DefaultTorqueGeneratorPaths extends Object implements TorqueGeneratorPaths
The default organization of the torque-generator directory.This is:
- torque-generator root - - conf - - - control.xml - - outlets - - templates - - resources
-
-
Constructor Summary
Constructors Constructor Description DefaultTorqueGeneratorPaths()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConfigurationDirectory()Returns the path to the directory containing the configuration, relative to the torque-gen directory.StringgetControlConfigurationFile()Returns the path to the file containing the control configuration, relative to the configuration directory.StringgetOutletDirectory()Returns the path to the directory containing the outlet definitions, relative to the Torque generator configuration directory.StringgetResourceDirectory()Returns the path to the directory containing the resources, relative to the Torque generator configuration directory.StringgetTemplateDirectory()Returns the path to the directory containing the templates, relative to the torque-gen directory.
-
-
-
Method Detail
-
getControlConfigurationFile
public String getControlConfigurationFile()
Description copied from interface:TorqueGeneratorPathsReturns the path to the file containing the control configuration, relative to the configuration directory.- Specified by:
getControlConfigurationFilein interfaceTorqueGeneratorPaths- Returns:
- the path to the control configuration file, not null.
-
getTemplateDirectory
public String getTemplateDirectory()
Description copied from interface:TorqueGeneratorPathsReturns the path to the directory containing the templates, relative to the torque-gen directory.- Specified by:
getTemplateDirectoryin interfaceTorqueGeneratorPaths- Returns:
- the path to the template directory. not null.
-
getConfigurationDirectory
public String getConfigurationDirectory()
Description copied from interface:TorqueGeneratorPathsReturns the path to the directory containing the configuration, relative to the torque-gen directory.- Specified by:
getConfigurationDirectoryin interfaceTorqueGeneratorPaths- Returns:
- the path to the configuration directory. not null.
-
getOutletDirectory
public String getOutletDirectory()
Description copied from interface:TorqueGeneratorPathsReturns the path to the directory containing the outlet definitions, relative to the Torque generator configuration directory.- Specified by:
getOutletDirectoryin interfaceTorqueGeneratorPaths- Returns:
- the path to the outlet definition directory, not null.
-
getResourceDirectory
public String getResourceDirectory()
Description copied from interface:TorqueGeneratorPathsReturns the path to the directory containing the resources, relative to the Torque generator configuration directory.- Specified by:
getResourceDirectoryin interfaceTorqueGeneratorPaths- Returns:
- the path to the resources directory, not null.
-
-