migrated to artifacts
[fedora-idea.git] / platform / lang-impl / src / com / intellij / conversion / ConversionContext.java
blob9e368bf5593e38e23b595de4c3f0a12df80e6919
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 @NotNull
32 String collapsePath(@NotNull String path);
34 Collection<File> getLibraryClassRoots(@NotNull String name, @NotNull String level);
36 @Nullable
37 ComponentManagerSettings getCompilerSettings();
39 @Nullable
40 ComponentManagerSettings getProjectRootManagerSettings();