public class Module extends Object implements IModule, Serializable
Modifier and Type | Method and 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.
|
String |
getId()
Returns the module identifier.
|
ModuleObject |
getMetadata()
Returns this module metadata.
|
ModuleObject |
getMetadataForComparing()
Returns the meta data that should be used for comparing this module (or its inner objects) to other one.
|
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 module
|
ModuleStatus |
getStatus()
Returns the module status.
|
ModuleType |
getType()
Returns the type of the module.
|
IVersion |
getVersion()
Returns the module version.
|
int |
hashCode() |
boolean |
isEnabled()
Deprecated.
|
void |
setMetadata(ModuleObject moduleMetadata)
Sets the metadata of this module.
|
String |
toString() |
public String getId()
IModule
public String getDisplayName()
IModule
getDisplayName
in interface IModule
public String getDescription()
IModule
getDescription
in interface IModule
public Date getDeploymentDateTime()
IModule
getDeploymentDateTime
in interface IModule
@Deprecated public boolean isEnabled()
IModule
public ModuleType getType()
IModule
public String getChecksum()
IModule
IModule.getSourceDir()
is not null
), the checksum will always be null
.getChecksum
in interface IModule
null
if this is an editable module (i.e. IModule.getSourceDir()
is not null
).public ModuleObject getMetadata()
public ModuleObject getMetadataForComparing() throws PortalException
PortalException
public void setMetadata(ModuleObject moduleMetadata)
moduleMetadata
- the metadata of this module.public int getNumErrors()
IModule
getNumErrors
in interface IModule
public String getDeployMessage()
IModule
getDeployMessage
in interface IModule
public ModuleStatus getStatus()
IModule
public int getNumWarnings()
IModule
getNumWarnings
in interface IModule
public IVersion getVersion()
IModule
getVersion
in interface IModule
@Deprecated public String getErrorMessage()
IModule
getErrorMessage
in interface IModule
public ModuleScope getScope()
IModule
public List<IComponent> getComponents()
IModule
getComponents
in interface IModule
public String getSourceDir()
IModule
getSourceDir
in interface IModule
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.