java.lang.Object
de.bytestore.hostinger.modules.entity.module.Module

public class Module extends Object
Represents a software module within the system. The class provides metadata and functionality to manage modules, such as maintaining their status, name, version, and repository details. The module status is managed using the ModuleStatus enumeration, allowing for robust representation of a module's lifecycle state (e.g., enabled, disabled, uninstalled).
  • Constructor Details

    • Module

      public Module()
  • Method Details

    • getStatus

      public ModuleStatus getStatus()
    • setStatus

      public void setStatus(ModuleStatus status)
    • isEnabled

      public boolean isEnabled()
      Determines whether the module is enabled.
      Returns:
      true if the module is enabled, false otherwise