public interface IModule
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_RESOURCE_PREFIX |
static final String CONFIG_RESOURCE_PREFIX
IExecutionEnvironment getExecutionEnvironment()
IDirectory getOutputPath()
String getName()
void setName(String name)
List<Dependency> getDependencies()
void setDependencies(List<Dependency> newDeps)
void addDependency(Dependency dependency)
void removeDependency(Dependency d)
ITypeLoaderStack getModuleTypeLoader()
List<IDirectory> getSourcePath()
void setSourcePath(List<IDirectory> path)
List<IDirectory> getJavaClassPath()
void setJavaClassPath(List<IDirectory> paths)
List<IDirectory> getBackingSourcePath()
void setBackingSourcePath(List<IDirectory> paths)
List<IDirectory> getExcludedPaths()
void setExcludedPaths(List<IDirectory> paths)
default void configurePaths(List<IDirectory> classpath, List<IDirectory> sourcePaths)
classpath - path to types not directly in the module's sources e.g., jar files containing .class files and other types/resourcessourcePaths - path to the sources directly defined in this module; sources in this path are statically compiled as part of this module's build target e.g., ./src directoriesvoid configurePaths(List<IDirectory> classpath, List<IDirectory> sourcePaths, List<IDirectory> backingSourcePaths)
classpath - path to types not directly in the module's sources e.g., jar files containing .class files and other types/resourcessourcePaths - path to the sources directly defined in this module; sources in this path are statically compiled as part of this module's build target e.g., ./src directoriesbackingSourcePaths - path to sources corresponding with the classpath parameter (intended for IDE use)Object getNativeModule()
void setNativeModule(INativeModule nativeModule)
<T extends ITypeLoader> List<? extends T> getTypeLoaders(Class<T> typeLoaderClass)
T - typeLoaderClass - IModule[] getModuleTraversalList()
IFileSystemGosuClassRepository getFileRepository()
ClassLoader getModuleClassLoader()
void disposeLoader()
Copyright © 2019. All rights reserved.