@ProviderType public interface ClientLibrary
ClientLibrary
represents a client library as defined in
content. a client library can have categories, dependencies and produce
different types of html libraries.Modifier and Type | Method and Description |
---|---|
boolean |
allowProxy()
Flag indicating if proxying is allowed.
|
java.lang.String[] |
getCategories()
Returns the categories this library is registered for.
|
java.lang.String[] |
getChannels()
Returns the channels associated with this library
|
java.util.Map<java.lang.String,? extends ClientLibrary> |
getDependencies(boolean transitive)
Resolves the dependencies of this library.
|
java.lang.String[] |
getDependentCategories()
Returns the categories of the dependent libraries
|
java.util.Map<java.lang.String,? extends ClientLibrary> |
getEmbedded(LibraryType type)
Returns the embedded libraries filtered by type.
|
java.lang.String[] |
getEmbeddedCategories()
Returns the categories of the embedded libraries
|
java.lang.String |
getIncludePath(LibraryType type)
Returns the include path of this library for the given type.
|
java.lang.String |
getIncludePath(LibraryType type,
boolean minified)
Returns the include path of this library for the given type.
|
java.lang.String |
getPath()
Returns the path of this library
|
java.lang.String |
getThemeLibId()
Returns the library id in case this is a themed library
|
java.lang.String |
getThemeName()
Returns the theme name in case this is a themed library.
|
java.util.Set<LibraryType> |
getTypes()
Returns the set of types that this library provides.
|
java.lang.String getPath()
java.lang.String getIncludePath(LibraryType type)
null
is returned.type
- library typejava.lang.String getIncludePath(LibraryType type, boolean minified)
null
is returned.type
- library typeminified
- true
to return the path to the minified versionjava.util.Set<LibraryType> getTypes()
java.lang.String getThemeName()
null
java.lang.String getThemeLibId()
null
java.lang.String[] getCategories()
java.lang.String[] getEmbeddedCategories()
java.lang.String[] getDependentCategories()
java.lang.String[] getChannels()
java.util.Map<java.lang.String,? extends ClientLibrary> getDependencies(boolean transitive)
true
.transitive
- true
for recursive resolutionjava.util.Map<java.lang.String,? extends ClientLibrary> getEmbedded(LibraryType type)
type
- type filterboolean allowProxy()
true
if proxy is allowed.Copyright © 2010 - 2020 Adobe. All Rights Reserved