1 package com
.intellij
.conversion
;
3 import com
.intellij
.openapi
.components
.StorageScheme
;
4 import org
.jetbrains
.annotations
.NotNull
;
5 import org
.jetbrains
.annotations
.Nullable
;
8 import java
.util
.Collection
;
13 public interface ConversionContext
{
15 File
getProjectBaseDir();
17 File
getProjectFile();
19 StorageScheme
getStorageScheme();
21 File
getSettingsBaseDir();
23 ProjectSettings
getProjectSettings() throws CannotConvertException
;
25 RunManagerSettings
getRunManagerSettings() throws CannotConvertException
;
27 WorkspaceSettings
getWorkspaceSettings() throws CannotConvertException
;
29 ModuleSettings
getModuleSettings(File moduleFile
) throws CannotConvertException
;
32 ModuleSettings
getModuleSettings(@NotNull String moduleName
);
35 String
collapsePath(@NotNull String path
);
37 Collection
<File
> getLibraryClassRoots(@NotNull String name
, @NotNull String level
);
40 ComponentManagerSettings
getCompilerSettings();
43 ComponentManagerSettings
getProjectRootManagerSettings();