Package manifold.internal.host
Class SimpleModule
- java.lang.Object
-
- manifold.internal.host.SimpleModule
-
- All Implemented Interfaces:
IModule
- Direct Known Subclasses:
DefaultSingleModule
public abstract class SimpleModule extends Object implements IModule
-
-
Constructor Summary
Constructors Constructor Description SimpleModule(IManifoldHost host, List<IDirectory> classpath, List<IDirectory> sourcePath, List<IDirectory> outputPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<TypeName>getChildrenOfNamespace(String packageName)List<IDirectory>getCollectiveJavaClassPath()List<IDirectory>getCollectiveSourcePath()List<Dependency>getDependencies()IDirectory[]getExcludedPath()IManifoldHostgetHost()List<IDirectory>getJavaClassPath()List<IDirectory>getOutputPath()PathCachegetPathCache()List<IDirectory>getSourcePath()The path[s] having source files that should be exposed to this module.Set<ITypeManifold>getTypeManifolds()voidinitializeTypeManifolds()JavaFileObjectproduceFile(String fqn, JavaFileManager.Location location, DiagnosticListener<JavaFileObject> errorHandler)protected voidsetJavaClassPath(List<IDirectory> cp)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface manifold.api.host.IModule
findTypeManifoldsFor, findTypeManifoldsFor, findTypeManifoldsFor, findTypeManifoldsFor, getExcludedTypeManifolds, getFileSystem, getName, getTypeManifoldSorter, loadRegistered, loadTypeManifolds
-
-
-
-
Constructor Detail
-
SimpleModule
public SimpleModule(IManifoldHost host, List<IDirectory> classpath, List<IDirectory> sourcePath, List<IDirectory> outputPath)
-
-
Method Detail
-
getHost
public IManifoldHost getHost()
-
getSourcePath
public List<IDirectory> getSourcePath()
Description copied from interface:IModuleThe path[s] having source files that should be exposed to this module.- Specified by:
getSourcePathin interfaceIModule
-
getJavaClassPath
public List<IDirectory> getJavaClassPath()
- Specified by:
getJavaClassPathin interfaceIModule
-
setJavaClassPath
protected void setJavaClassPath(List<IDirectory> cp)
-
getOutputPath
public List<IDirectory> getOutputPath()
- Specified by:
getOutputPathin interfaceIModule
-
getExcludedPath
public IDirectory[] getExcludedPath()
- Specified by:
getExcludedPathin interfaceIModule
-
getCollectiveSourcePath
public List<IDirectory> getCollectiveSourcePath()
- Specified by:
getCollectiveSourcePathin interfaceIModule
-
getCollectiveJavaClassPath
public List<IDirectory> getCollectiveJavaClassPath()
- Specified by:
getCollectiveJavaClassPathin interfaceIModule
-
getDependencies
public List<Dependency> getDependencies()
- Specified by:
getDependenciesin interfaceIModule- Returns:
- A list of dependency modules. The dependency graph must not have cycles.
-
getPathCache
public PathCache getPathCache()
- Specified by:
getPathCachein interfaceIModule
-
getTypeManifolds
public Set<ITypeManifold> getTypeManifolds()
- Specified by:
getTypeManifoldsin interfaceIModule
-
produceFile
public JavaFileObject produceFile(String fqn, JavaFileManager.Location location, DiagnosticListener<JavaFileObject> errorHandler)
- Specified by:
produceFilein interfaceIModule
-
initializeTypeManifolds
public void initializeTypeManifolds()
-
-