public final class LibraryDataService extends AbstractProjectDataService<LibraryData,Library>
| Modifier and Type | Field and Description |
|---|---|
static NotNullFunction<java.lang.String,java.io.File> |
PATH_TO_FILE |
EMPTY_LISTEP_NAME| Constructor and Description |
|---|
LibraryDataService() |
| Modifier and Type | Method and Description |
|---|---|
Key<LibraryData> |
getTargetDataKey() |
void |
importData(java.util.Collection<DataNode<LibraryData>> toImport,
ProjectData projectData,
Project project,
IdeModifiableModelsProvider modelsProvider)
It's assumed that given data nodes present at the ide when this method returns.
|
void |
postProcess(java.util.Collection<DataNode<LibraryData>> toImport,
ProjectData projectData,
Project project,
IdeModifiableModelsProvider modelsProvider)
Remove orphan project libraries during postprocess phase (after execution of LibraryDependencyDataService#import)
|
java.util.Map<OrderRootType,java.util.Collection<java.io.File>> |
prepareLibraryFiles(LibraryData data) |
computeOrphanData, removeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonFailureImport, onSuccessImportpublic static final NotNullFunction<java.lang.String,java.io.File> PATH_TO_FILE
public Key<LibraryData> getTargetDataKey()
getTargetDataKey in interface ProjectDataService<LibraryData,Library>getTargetDataKey in class AbstractProjectDataService<LibraryData,Library>public void importData(java.util.Collection<DataNode<LibraryData>> toImport, ProjectData projectData, Project project, IdeModifiableModelsProvider modelsProvider)
ProjectDataServiceimportData in interface ProjectDataService<LibraryData,Library>importData in class AbstractProjectDataService<LibraryData,Library>public java.util.Map<OrderRootType,java.util.Collection<java.io.File>> prepareLibraryFiles(LibraryData data)
public void postProcess(java.util.Collection<DataNode<LibraryData>> toImport, ProjectData projectData, Project project, IdeModifiableModelsProvider modelsProvider)