Class ModuleDescriptor
java.lang.Object
de.espirit.firstspirit.module.descriptor.AbstractDescriptor
de.espirit.firstspirit.module.descriptor.ModuleDescriptor
- All Implemented Interfaces:
Descriptor,Serializable
FirstSpirit Module (FSM) descriptor, containing all information of a specific module and its components.
- Since:
- 5.1.103
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.espirit.firstspirit.module.descriptor.AbstractDescriptor
AbstractDescriptor.ResourceDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ComponentDescriptorgetComponentByName(@Nullable String name) Returns a component by its name ornullif it couldn't be found.@NotNull ComponentDescriptor[]Returns all components of this module.@Nullable StringReturns the minimal version of FirstSpirit required to install this module.Returns the vendor information of this module.Methods inherited from class de.espirit.firstspirit.module.descriptor.AbstractDescriptor
getComponentClass, getConfiguration, getConfigurationClass, getDescription, getDisplayName, getModuleName, getName, getResources, getVersion, isHidden, isUnknown, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.espirit.firstspirit.module.descriptor.Descriptor
getConfiguration, getDescription, getDisplayName, getName, getVersion
-
Constructor Details
-
ModuleDescriptor
public ModuleDescriptor()
-
-
Method Details
-
getComponentByName
Returns a component by its name ornullif it couldn't be found.- Parameters:
name- component name.- Returns:
- component by name.
- Since:
- 5.1.103
-
getComponents
Returns all components of this module.- Returns:
- all component descriptors.
- Since:
- 5.1.103
-
getVendor
Returns the vendor information of this module.- Returns:
- vendor of this module.
- Since:
- 5.1.103
-
getMinFsVersion
Returns the minimal version of FirstSpirit required to install this module. The version will always be specified in a format like "5.2.230707".- Returns:
- the minimal FirstSpirit version or
nullif any version is sufficient. - Since:
- 5.2.231002
-