public interface ComponentDescriptor extends Descriptor
Component
.Modifier and Type | Interface and Description |
---|---|
static class |
ComponentDescriptor.Scope
The scope describes the place where the component is available: server-wide, project-local or web-local.
|
static class |
ComponentDescriptor.Type
Deprecated.
since 4.2.200. no replacement - Components must implement proper interfaces.
|
Modifier and Type | Method and Description |
---|---|
String |
getComponentClass()
Returns
component class-name. |
String |
getConfiguration()
Returns configuration string.
|
String |
getConfigurationClass()
Returns
configuration class-name. |
String |
getDescription()
Returns an english component description.
|
String |
getDisplayName()
Returns the component displayname.
|
String |
getModuleName()
Returns module name.
|
String |
getName()
Returns the component name which has to be unique inside a single module.
|
de.espirit.firstspirit.module.descriptor.AbstractDescriptor.ResourceDescriptor[] |
getResources()
Returns resources (jar-files) neccessary for this component.
|
ComponentDescriptor.Scope |
getScope()
Returns component scope.
|
ComponentDescriptor.Type |
getType()
Returns component type.
|
String |
getVersion()
Returns component version (multiple numbers separated only by dots, e.g.
|
boolean |
isHidden()
Returns true if component is hidden in adminconsole, and false (by default) otherwise
|
boolean |
isUnknown()
Returns true if this component descriptor is unknown, occures when an imported project has a module installed,
which is unknown on the firstspirit server.
|
boolean isUnknown()
boolean isHidden()
@Nullable String getConfiguration()
getConfiguration
in interface Descriptor
String getDescription()
getDescription
in interface Descriptor
String getName()
getName
in interface Descriptor
String getDisplayName()
getDisplayName
in interface Descriptor
String getModuleName()
String getVersion()
getVersion
in interface Descriptor
@Nullable String getComponentClass()
component
class-name.component
class-name.String getConfigurationClass()
configuration
class-name.configuration
class-name.ComponentDescriptor.Scope getScope()
ComponentDescriptor.Type getType()
de.espirit.firstspirit.module.descriptor.AbstractDescriptor.ResourceDescriptor[] getResources()
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408