Class ModuleDescriptor

java.lang.Object
de.espirit.firstspirit.module.descriptor.AbstractDescriptor
de.espirit.firstspirit.module.descriptor.ModuleDescriptor
All Implemented Interfaces:
Descriptor, Serializable

public class ModuleDescriptor extends AbstractDescriptor implements Descriptor
FirstSpirit Module (FSM) descriptor, containing all information of a specific module and its components.
Since:
5.1.103
See Also:
  • Constructor Details

    • ModuleDescriptor

      public ModuleDescriptor()
  • Method Details

    • getComponentByName

      @Nullable public @Nullable ComponentDescriptor getComponentByName(@Nullable @Nullable String name)
      Returns a component by its name or null if it couldn't be found.
      Parameters:
      name - component name.
      Returns:
      component by name.
      Since:
      5.1.103
    • getComponents

      @NotNull public @NotNull ComponentDescriptor[] getComponents()
      Returns all components of this module.
      Returns:
      all component descriptors.
      Since:
      5.1.103
    • getVendor

      public String getVendor()
      Returns the vendor information of this module.
      Returns:
      vendor of this module.
      Since:
      5.1.103
    • getMinFsVersion

      @Nullable public @Nullable String 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 null if any version is sufficient.
      Since:
      5.2.231002