public abstract class LibraryTablesRegistrar
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_LEVEL |
static java.lang.String |
PROJECT_LEVEL |
Constructor and Description |
---|
LibraryTablesRegistrar() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<LibraryTable> |
getCustomLibraryTables() |
static LibraryTablesRegistrar |
getInstance() |
abstract LibraryTable |
getLibraryTable()
Returns the table containing application-level libraries.
|
abstract LibraryTable |
getLibraryTable(Project project)
Returns the table containing project-level libraries for given
project . |
abstract LibraryTable |
getLibraryTableByLevel(java.lang.String level,
Project project)
Returns a custom library table registered by
registerLibraryTable(LibraryTable) . |
abstract void |
registerLibraryTable(LibraryTable libraryTable)
Register a custom library table.
|
public static final java.lang.String PROJECT_LEVEL
public static final java.lang.String APPLICATION_LEVEL
public static LibraryTablesRegistrar getInstance()
public abstract LibraryTable getLibraryTable()
public abstract LibraryTable getLibraryTable(Project project)
project
. These libraries are shown in 'Project Structure'
| 'Project Settings' | 'Libraries' and may be added to dependencies of the corresponding project's modules only.public abstract LibraryTable getLibraryTableByLevel(java.lang.String level, Project project)
registerLibraryTable(LibraryTable)
.public abstract void registerLibraryTable(LibraryTable libraryTable)
public abstract java.util.List<LibraryTable> getCustomLibraryTables()