public interface ConversionContext
java.io.File getProjectBaseDir()
java.io.File getProjectFile()
StorageScheme getStorageScheme()
java.io.File getSettingsBaseDir()
null
for file-based schemeProjectSettings getProjectSettings() throws CannotConvertException
CannotConvertException
RunManagerSettings getRunManagerSettings() throws CannotConvertException
CannotConvertException
WorkspaceSettings getWorkspaceSettings() throws CannotConvertException
CannotConvertException
default ModuleSettings getModuleSettings(java.io.File moduleFile) throws CannotConvertException
CannotConvertException
ModuleSettings getModuleSettings(java.nio.file.Path moduleFile) throws CannotConvertException
CannotConvertException
ModuleSettings getModuleSettings(java.lang.String moduleName)
ComponentManagerSettings createProjectSettings(java.lang.String fileName)
fileName
- name of the file under .idea directory which contains the settings. For ipr-based storage format the settings will
be loaded from ipr-fileComponentManagerSettings
instance which can be used to read and modify the settings or null
if the configuration
file cannot be loadedjava.lang.String collapsePath(java.lang.String path)
java.util.Collection<java.io.File> getLibraryClassRoots(java.lang.String name, java.lang.String level)
ComponentManagerSettings getCompilerSettings()
ComponentManagerSettings getProjectRootManagerSettings()
java.util.List<java.nio.file.Path> getModulePaths() throws CannotConvertException
CannotConvertException
@Deprecated java.io.File[] getModuleFiles()
#getModulePaths
.ComponentManagerSettings getModulesSettings()
ProjectLibrariesSettings getProjectLibrariesSettings() throws CannotConvertException
CannotConvertException
ArtifactsSettings getArtifactsSettings() throws CannotConvertException
CannotConvertException
java.lang.String expandPath(java.lang.String path)