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 |
associatedDocuments
PROP_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) |
getAssociatedDocuments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssociatedDocuments
protected 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 ComponentInfo
public BundleInfo getBundle()
getBundle
in interface ComponentInfo
public Collection<ExtensionPointInfo> getExtensionPoints()
getExtensionPoints
in interface ComponentInfo
public Collection<ExtensionInfo> getExtensions()
getExtensions
in interface ComponentInfo
public void addExtensionPoint(ExtensionPointInfoImpl xp)
public ExtensionPointInfo getExtensionPoint(String name)
getExtensionPoint
in interface ComponentInfo
public void addExtension(ExtensionInfoImpl xt)
public String getDocumentation()
getDocumentation
in interface ComponentInfo
public String getDocumentationHtml()
getDocumentationHtml
in interface ComponentInfo
public void setDocumentation(String documentation)
public void addService(String serviceName, boolean overriden)
public List<String> getServiceNames()
getServiceNames
in interface ComponentInfo
public String getComponentClass()
getComponentClass
in interface ComponentInfo
public void setComponentClass(String componentClass)
public boolean isXmlPureComponent()
isXmlPureComponent
in interface ComponentInfo
public URL getXmlFileUrl()
getXmlFileUrl
in interface ComponentInfo
public void setXmlFileUrl(URL xmlFileUrl)
public String getXmlFileName()
getXmlFileName
in interface ComponentInfo
public String getXmlFileContent()
getXmlFileContent
in interface ComponentInfo
public String getId()
getId
in interface NuxeoArtifact
getId
in class BaseNuxeoArtifact
public String getVersion()
getVersion
in interface NuxeoArtifact
public String getArtifactType()
getArtifactType
in interface NuxeoArtifact
public List<ServiceInfo> getServices()
getServices
in interface ComponentInfo
public String getHierarchyPath()
getHierarchyPath
in interface NuxeoArtifact
Copyright © 2016 Nuxeo SA. All rights reserved.