org.apache.torque.generator.configuration.paths
Class Maven2JarProjectPaths
java.lang.Object
org.apache.torque.generator.configuration.paths.Maven2ProjectPaths
org.apache.torque.generator.configuration.paths.Maven2JarProjectPaths
- All Implemented Interfaces:
- ProjectPaths
public class Maven2JarProjectPaths
- extends Maven2ProjectPaths
Implementation of ProjectPaths if the configuration is located
in a jar file inside of a Maven 2 project.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Maven2JarProjectPaths
public Maven2JarProjectPaths(File projectRoot,
String jarFileName)
- Constructor.
- Parameters:
projectRoot
- path to the project root directory, not null.
The path must either be absolute or relative to the current
working directory.jarFileName
- the name of the jar file, relative to the
configuration root directory.
getConfigurationPath
public File getConfigurationPath()
- Returns the subdirectory for the Torque generator files,
relative to the project root.
- Specified by:
getConfigurationPath
in interface ProjectPaths
- Specified by:
getConfigurationPath
in class Maven2ProjectPaths
- Returns:
- the subdirectory for the Torque generator files, not null.
getConfigurationPackage
public String getConfigurationPackage()
- Returns the package of the Torque generator files.
- Specified by:
getConfigurationPackage
in interface ProjectPaths
- Specified by:
getConfigurationPackage
in class Maven2ProjectPaths
- Returns:
- null.
Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.