named module libraries supported in artifacts
[fedora-idea.git] / platform / lang-impl / src / com / intellij / conversion / ConversionContext.java
blob0ef9f67d34a8b841131108ae22b4b572a9d6b0f6
1 package com.intellij.conversion;
3 import com.intellij.openapi.components.StorageScheme;
4 import org.jetbrains.annotations.NotNull;
5 import org.jetbrains.annotations.Nullable;
7 import java.io.File;
8 import java.util.Collection;
10 /**
11 * @author nik
13 public interface ConversionContext {
14 @NotNull
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;
31 @Nullable
32 ModuleSettings getModuleSettings(@NotNull String moduleName);
34 @NotNull
35 String collapsePath(@NotNull String path);
37 Collection<File> getLibraryClassRoots(@NotNull String name, @NotNull String level);
39 @Nullable
40 ComponentManagerSettings getCompilerSettings();
42 @Nullable
43 ComponentManagerSettings getProjectRootManagerSettings();