public class ModuleDescriptor
extends java.lang.Object
Constructor and Description |
---|
ModuleDescriptor(java.io.File contentRoot,
ModuleType moduleType,
java.util.Collection<? extends DetectedSourceRoot> sourceRoots) |
ModuleDescriptor(java.io.File contentRoot,
ModuleType moduleType,
DetectedSourceRoot sourceRoot) |
Modifier and Type | Method and Description |
---|---|
void |
addConfigurationUpdater(ModuleBuilder.ModuleConfigurationUpdater updater) |
void |
addContentRoot(java.io.File contentRoot) |
void |
addDependencyOn(ModuleDescriptor dependence) |
void |
addLibraryFile(java.io.File libFile) |
void |
addSourceRoot(java.io.File contentRoot,
DetectedSourceRoot sourceRoot) |
void |
clearLibraryFiles() |
void |
clearModuleDependencies() |
java.lang.String |
computeModuleFilePath() |
java.util.Set<java.io.File> |
getContentRoots() |
java.util.Set<ModuleDescriptor> |
getDependencies() |
java.util.Set<java.io.File> |
getLibraryFiles() |
ModuleType |
getModuleType() |
java.lang.String |
getName() |
java.util.Collection<? extends DetectedProjectRoot> |
getSourceRoots() |
java.util.Collection<DetectedSourceRoot> |
getSourceRoots(java.io.File contentRoot) |
boolean |
isReuseExistingElement() |
java.util.Collection<DetectedSourceRoot> |
removeContentRoot(java.io.File contentRoot) |
void |
removeDependencyOn(ModuleDescriptor module) |
void |
reuseExisting(boolean reuseExistingElement) |
void |
setName(java.lang.String name) |
java.lang.String |
toString()
For debug purposes only
|
void |
updateModuleConfiguration(Module module,
ModifiableRootModel rootModel) |
public ModuleDescriptor(java.io.File contentRoot, ModuleType moduleType, java.util.Collection<? extends DetectedSourceRoot> sourceRoots)
public ModuleDescriptor(java.io.File contentRoot, ModuleType moduleType, DetectedSourceRoot sourceRoot)
public void reuseExisting(boolean reuseExistingElement)
public void addConfigurationUpdater(ModuleBuilder.ModuleConfigurationUpdater updater)
public void updateModuleConfiguration(Module module, ModifiableRootModel rootModel)
public boolean isReuseExistingElement()
public ModuleType getModuleType()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Set<java.io.File> getContentRoots()
public java.util.Collection<? extends DetectedProjectRoot> getSourceRoots()
public java.util.Collection<DetectedSourceRoot> getSourceRoots(java.io.File contentRoot)
public void addContentRoot(java.io.File contentRoot)
public java.util.Collection<DetectedSourceRoot> removeContentRoot(java.io.File contentRoot)
public void addSourceRoot(java.io.File contentRoot, DetectedSourceRoot sourceRoot)
public void addDependencyOn(ModuleDescriptor dependence)
public void removeDependencyOn(ModuleDescriptor module)
public void addLibraryFile(java.io.File libFile)
public java.util.Set<java.io.File> getLibraryFiles()
public java.util.Set<ModuleDescriptor> getDependencies()
public java.lang.String toString()
toString
in class java.lang.Object
public void clearModuleDependencies()
public void clearLibraryFiles()
public java.lang.String computeModuleFilePath() throws InvalidDataException
InvalidDataException