Class Module
java.lang.Object
de.bytestore.hostinger.modules.entity.module.Module
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the module is enabled.voidsetStatus(ModuleStatus status)
-
Constructor Details
-
Module
public Module()
-
-
Method Details
-
getStatus
-
setStatus
-
isEnabled
public boolean isEnabled()Determines whether the module is enabled.- Returns:
trueif the module is enabled,falseotherwise
-