Method Summary |
|
abstract public boolean | add(String distributionPath, FileObject sourceFile) Add new mapping or update existing mapping of the given distribution path.
Provider of the mapping needs to extract and persist the relative path to
ensure the mapping is in project sharable data. |
abstract public FileObject[] | findSourceFile(String distributionPath) Returns the concrete file for the given distribution path. |
final public static SourceFileMap | findSourceMap(FileObject source) Returns a source file map for the module, or null if none can be identified. |
final public static SourceFileMap | findSourceMap(J2eeModule j2eeModule) Returns a source file map for the module, or null if none can be identified. |
abstract public String | getContextName() Return context name, typically the J2EE module project name. |
abstract public File | getDistributionPath(FileObject sourceFile) Returns the relative path in distribution of the given concrete source file. |
abstract public File | getEnterpriseResourceDir() Returns directory paths to repository of enterprise resource definition files. |
abstract public File[] | getEnterpriseResourceDirs() Returns directory paths to repository of enterprise resource definition files. |
abstract public FileObject[] | getSourceRoots() Return source roots this file mapping is operate on. |
abstract public FileObject | remove(String distributionPath) Remove mapping for the given distribution path. |