public class ModuleSettingsImpl extends ComponentManagerSettingsImpl implements ModuleSettings
myContext, mySettingsFileMODULE_ROOT_MANAGER_COMPONENT| Constructor and Description |
|---|
ModuleSettingsImpl(java.nio.file.Path moduleFile,
ConversionContextImpl context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExcludedFolder(java.io.File directory) |
void |
addFacetElement(java.lang.String facetTypeId,
java.lang.String facetName,
Element configuration) |
java.lang.String |
collapsePath(java.lang.String path) |
java.lang.String |
expandPath(java.lang.String path) |
java.util.Collection<ModuleSettings> |
getAllModuleDependencies() |
java.util.Collection<java.io.File> |
getContentRoots() |
Element |
getFacetElement(java.lang.String facetTypeId) |
java.util.Collection<? extends Element> |
getFacetElements(java.lang.String facetTypeId) |
java.io.File |
getModuleFile() |
java.util.List<java.io.File> |
getModuleLibraryRoots(java.lang.String libraryName) |
java.lang.String |
getModuleName() |
static java.lang.String |
getModuleName(java.nio.file.Path moduleFile) |
java.lang.String |
getModuleType() |
java.util.List<Element> |
getOrderEntries() |
java.lang.String |
getProjectOutputUrl() |
java.util.Collection<java.io.File> |
getSourceRoots(boolean includeTests) |
boolean |
hasModuleLibrary(java.lang.String libraryName) |
void |
setModuleType(java.lang.String moduleType) |
getComponentElementgetPath, getRootElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComponentElementgetFile, getPath, getRootElementpublic ModuleSettingsImpl(java.nio.file.Path moduleFile,
ConversionContextImpl context)
throws CannotConvertException
CannotConvertExceptionpublic static java.lang.String getModuleName(java.nio.file.Path moduleFile)
public java.lang.String getModuleName()
getModuleName in interface ModuleSettingspublic java.lang.String getModuleType()
getModuleType in interface ModuleSettingspublic java.io.File getModuleFile()
getModuleFile in interface ModuleSettingspublic java.util.Collection<? extends Element> getFacetElements(java.lang.String facetTypeId)
getFacetElements in interface ModuleSettingspublic Element getFacetElement(java.lang.String facetTypeId)
getFacetElement in interface ModuleSettingspublic void addFacetElement(java.lang.String facetTypeId,
java.lang.String facetName,
Element configuration)
addFacetElement in interface ModuleSettingspublic void setModuleType(java.lang.String moduleType)
setModuleType in interface ModuleSettingspublic java.lang.String expandPath(java.lang.String path)
expandPath in interface ModuleSettingspublic java.lang.String collapsePath(java.lang.String path)
collapsePath in interface ModuleSettingspublic java.util.Collection<java.io.File> getSourceRoots(boolean includeTests)
getSourceRoots in interface ModuleSettingspublic java.util.Collection<java.io.File> getContentRoots()
getContentRoots in interface ModuleSettingspublic java.lang.String getProjectOutputUrl()
getProjectOutputUrl in interface ModuleSettingspublic void addExcludedFolder(java.io.File directory)
addExcludedFolder in interface ModuleSettingspublic java.util.List<java.io.File> getModuleLibraryRoots(java.lang.String libraryName)
getModuleLibraryRoots in interface ModuleSettingspublic boolean hasModuleLibrary(java.lang.String libraryName)
hasModuleLibrary in interface ModuleSettingspublic java.util.List<Element> getOrderEntries()
getOrderEntries in interface ModuleSettingspublic java.util.Collection<ModuleSettings> getAllModuleDependencies()
getAllModuleDependencies in interface ModuleSettings