Class DefaultTorqueGeneratorPaths
java.lang.Object
org.apache.torque.generator.configuration.paths.DefaultTorqueGeneratorPaths
- All Implemented Interfaces:
TorqueGeneratorPaths
The default organization of the torque-generator directory.
This is:
- torque-generator root - - conf - - - control.xml - - outlets - - templates - - resources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the path to the directory containing the configuration, relative to the torque-gen directory.Returns the path to the file containing the control configuration, relative to the configuration directory.Returns the path to the directory containing the outlet definitions, relative to the Torque generator configuration directory.Returns the path to the directory containing the resources, relative to the Torque generator configuration directory.Returns the path to the directory containing the templates, relative to the torque-gen directory.
-
Constructor Details
-
DefaultTorqueGeneratorPaths
public DefaultTorqueGeneratorPaths()
-
-
Method Details
-
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
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
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
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
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.
-