Class ContentTypeApiSupportProvider
- java.lang.Object
-
- com.atlassian.confluence.content.apisupport.ContentTypeApiSupportProvider
-
- All Implemented Interfaces:
ApiSupportProvider
public class ContentTypeApiSupportProvider extends Object implements ApiSupportProvider
ProvidesContentTypeApiSupport
s that are either bundled, or registered with OSGi
-
-
Constructor Summary
Constructors Constructor Description ContentTypeApiSupportProvider(List<com.google.common.base.Supplier<ContentTypeApiSupport>> bundledBindings, ContentTypeManager customContentTypeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentTypeApiSupport
getForType(ContentType type)
Get the content type api support for the given content typeList<ContentTypeApiSupport>
getList()
Map<ContentType,ContentTypeApiSupport>
getMap()
-
-
-
Constructor Detail
-
ContentTypeApiSupportProvider
public ContentTypeApiSupportProvider(List<com.google.common.base.Supplier<ContentTypeApiSupport>> bundledBindings, ContentTypeManager customContentTypeManager)
-
-
Method Detail
-
getForType
public ContentTypeApiSupport getForType(ContentType type)
Description copied from interface:ApiSupportProvider
Get the content type api support for the given content type- Specified by:
getForType
in interfaceApiSupportProvider
- Parameters:
type
- the contentType to look up support for- Returns:
- the contentTypeApiSupport for the given content type
-
getMap
public Map<ContentType,ContentTypeApiSupport> getMap()
-
getList
public List<ContentTypeApiSupport> getList()
-
-