Package lumis.portal.deployment
Interface IModule
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Module
@StableMinor(version="14.0", sinceVersion="7.1") public interface IModule extends Serializable
A module that is deployed in the LumisXP.- Since:
- 5.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getChecksum()
Returns the hexadecimal string MD5 checksum of this module.
If this module is an editable module (i.e.List<IComponent>
getComponents()
Returns an unmodifiable list of components that belongs the module.Date
getDeploymentDateTime()
Returns the date-time of the deployment of this module.String
getDeployMessage()
Returns a message of all errors and warnings occurred during deployment process.String
getDescription()
Returns the module description.String
getDisplayName()
Returns the module display name.String
getErrorMessage()
Deprecated.since 7.1 replaced bygetDeployMessage()
.String
getId()
Returns the module identifier.int
getNumErrors()
Returns the amount of errors in the last deployment operation over the module.int
getNumWarnings()
Returns the amount of warnings in the last deployment operation over the module.ModuleScope
getScope()
Returns the scope of this module.String
getSourceDir()
Returns the source directory of the moduleModuleStatus
getStatus()
Returns the module status.ModuleType
getType()
Returns the type of the module.IVersion
getVersion()
Returns the module version.boolean
isEnabled()
Deprecated.since 7.1 always returntrue
for backward compatibility only.
-
-
-
Method Detail
-
getId
String getId()
Returns the module identifier.- Returns:
- the module identifier.
- Since:
- 5.0.0
-
getDisplayName
String getDisplayName()
Returns the module display name.- Returns:
- the module display name.
- Since:
- 5.0.0
-
getDescription
String getDescription()
Returns the module description.- Returns:
- the module description.
- Since:
- 5.0.0
-
getSourceDir
String getSourceDir()
Returns the source directory of the module- Returns:
- the module source directory
- Since:
- 8.0.0
-
getDeploymentDateTime
Date getDeploymentDateTime()
Returns the date-time of the deployment of this module.- Returns:
- the date-time of the deployment of this module.
- Since:
- 5.0.0
-
isEnabled
@Deprecated boolean isEnabled()
Deprecated.since 7.1 always returntrue
for backward compatibility only.Returns if the module is enabled. Disabled modules are not available, just as if not installed.- Returns:
- true if the module is enabled, false if it is disabled.
- Since:
- 5.0.0
-
getType
ModuleType getType()
Returns the type of the module.- Returns:
- the type of the module.
- Since:
- 5.0.0
-
getStatus
ModuleStatus getStatus()
Returns the module status.- Returns:
- the module status.
- Since:
- 7.1.0
-
getErrorMessage
@Deprecated String getErrorMessage()
Deprecated.since 7.1 replaced bygetDeployMessage()
.Returns a message of all errors occurred during deployment process.- Returns:
- a string.
- Since:
- 6.0.0
-
getDeployMessage
String getDeployMessage()
Returns a message of all errors and warnings occurred during deployment process.- Returns:
- a string.
- Since:
- 7.1.0
-
getNumErrors
int getNumErrors()
Returns the amount of errors in the last deployment operation over the module.- Returns:
- the amount of errors.
- Since:
- 6.0.0
-
getNumWarnings
int getNumWarnings()
Returns the amount of warnings in the last deployment operation over the module.- Returns:
- the amount of warnings.
- Since:
- 7.1.0
-
getChecksum
String getChecksum()
Returns the hexadecimal string MD5 checksum of this module.
If this module is an editable module (i.e.getSourceDir()
is notnull
), the checksum will always benull
.- Returns:
- the hexadecimal string MD5 checksum of this module or
null
if this is an editable module (i.e.getSourceDir()
is notnull
). - Since:
- 7.1.0
-
getVersion
IVersion getVersion()
Returns the module version.- Returns:
- the module version.
- Since:
- 7.1.0
-
getComponents
List<IComponent> getComponents()
Returns an unmodifiable list of components that belongs the module.- Returns:
- an unmodifiable list of components that belongs the module.
- Since:
- 7.1.0
-
getScope
ModuleScope getScope()
Returns the scope of this module.- Returns:
- the scope of this module.
- Since:
- 10.2.0
-
-