public class ComponentInfoImpl extends BaseNuxeoArtifact implements ComponentInfo
| Modifier and Type | Field and Description |
|---|---|
protected BundleInfo |
bundle |
protected String |
componentClass |
protected String |
documentation |
protected Map<String,ExtensionPointInfo> |
extensionPoints |
protected Collection<ExtensionInfo> |
extensions |
protected static org.apache.commons.logging.Log |
log |
protected String |
name |
protected List<String> |
serviceNames |
protected List<ServiceInfo> |
services |
protected URL |
xmlFileUrl |
associatedDocumentsPROP_BUILT_IN_DOC, PROP_COMPONENT_CLASS, PROP_COMPONENT_ID, PROP_COMPONENT_NAME, PROP_IS_XML, PROP_SERVICES, TYPE_NAME| Constructor and Description |
|---|
ComponentInfoImpl(BundleInfo bundleInfo,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtension(ExtensionInfoImpl xt) |
void |
addExtensionPoint(ExtensionPointInfoImpl xp) |
void |
addService(String serviceName,
boolean overriden) |
String |
getArtifactType() |
BundleInfo |
getBundle() |
String |
getComponentClass() |
String |
getDocumentation() |
String |
getDocumentationHtml() |
ExtensionPointInfo |
getExtensionPoint(String name) |
Collection<ExtensionPointInfo> |
getExtensionPoints() |
Collection<ExtensionInfo> |
getExtensions() |
String |
getHierarchyPath() |
String |
getId() |
String |
getName() |
List<String> |
getServiceNames() |
List<ServiceInfo> |
getServices() |
String |
getVersion() |
String |
getXmlFileContent() |
String |
getXmlFileName() |
URL |
getXmlFileUrl() |
boolean |
isXmlPureComponent() |
void |
setComponentClass(String componentClass) |
void |
setDocumentation(String documentation) |
void |
setXmlFileUrl(URL xmlFileUrl) |
getAssociatedDocumentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssociatedDocumentsprotected final BundleInfo bundle
protected final Map<String,ExtensionPointInfo> extensionPoints
protected final Collection<ExtensionInfo> extensions
protected final List<String> serviceNames
protected final List<ServiceInfo> services
protected URL xmlFileUrl
protected String componentClass
protected String documentation
protected static final org.apache.commons.logging.Log log
public ComponentInfoImpl(BundleInfo bundleInfo, String name)
public String getName()
getName in interface ComponentInfopublic BundleInfo getBundle()
getBundle in interface ComponentInfopublic Collection<ExtensionPointInfo> getExtensionPoints()
getExtensionPoints in interface ComponentInfopublic Collection<ExtensionInfo> getExtensions()
getExtensions in interface ComponentInfopublic void addExtensionPoint(ExtensionPointInfoImpl xp)
public ExtensionPointInfo getExtensionPoint(String name)
getExtensionPoint in interface ComponentInfopublic void addExtension(ExtensionInfoImpl xt)
public String getDocumentation()
getDocumentation in interface ComponentInfopublic String getDocumentationHtml()
getDocumentationHtml in interface ComponentInfopublic void setDocumentation(String documentation)
public void addService(String serviceName, boolean overriden)
public List<String> getServiceNames()
getServiceNames in interface ComponentInfopublic String getComponentClass()
getComponentClass in interface ComponentInfopublic void setComponentClass(String componentClass)
public boolean isXmlPureComponent()
isXmlPureComponent in interface ComponentInfopublic URL getXmlFileUrl()
getXmlFileUrl in interface ComponentInfopublic void setXmlFileUrl(URL xmlFileUrl)
public String getXmlFileName()
getXmlFileName in interface ComponentInfopublic String getXmlFileContent()
getXmlFileContent in interface ComponentInfopublic String getId()
getId in interface NuxeoArtifactgetId in class BaseNuxeoArtifactpublic String getVersion()
getVersion in interface NuxeoArtifactpublic String getArtifactType()
getArtifactType in interface NuxeoArtifactpublic List<ServiceInfo> getServices()
getServices in interface ComponentInfopublic String getHierarchyPath()
getHierarchyPath in interface NuxeoArtifactCopyright © 2018 Nuxeo. All rights reserved.