Package lumis.portal.deployment
Class DeploymentMessageWriter
- java.lang.Object
-
- lumis.portal.deployment.DeploymentMessageWriter
-
public class DeploymentMessageWriter extends java.lang.Object
Helper class for writing deployment messages.- Since:
- 7.1.0
- Version:
- $Revision: 16824 $ $Date: 2015-01-23 18:49:12 -0200 (Fri, 23 Jan 2015) $
-
-
Constructor Summary
Constructors Constructor Description DeploymentMessageWriter(java.lang.String packageName, java.lang.String moduleId, java.lang.String componentId)
Creates a new instance with the given parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setComponentId(java.lang.String componentId)
Sets the component identifier.void
setModuleId(java.lang.String moduleId)
Sets the module identifier.void
setPackageName(java.lang.String packageName)
Sets the package name.void
write(java.lang.String title, java.lang.String message, DeploymentMessageLevel level)
Writes the given message as a package message, a module message and / or a component message accordingly to the provided identifiers.
-
-
-
Constructor Detail
-
DeploymentMessageWriter
public DeploymentMessageWriter(java.lang.String packageName, java.lang.String moduleId, java.lang.String componentId)
Creates a new instance with the given parameters.- Parameters:
packageName
- the current package name (if any).moduleId
- the current module identifier (if any).componentId
- the current component identifier (if any).- Since:
- 7.1.0
-
-
Method Detail
-
write
public void write(java.lang.String title, java.lang.String message, DeploymentMessageLevel level) throws PortalException
Writes the given message as a package message, a module message and / or a component message accordingly to the provided identifiers.- Parameters:
title
- the message title.message
- the message text.level
- the message level.- Throws:
PortalException
- Since:
- 7.1.0
-
setPackageName
public void setPackageName(java.lang.String packageName)
Sets the package name.- Parameters:
packageName
- the package name.- Since:
- 7.1.0
-
setModuleId
public void setModuleId(java.lang.String moduleId)
Sets the module identifier.- Parameters:
moduleId
- the module identifier.- Since:
- 7.1.0
-
setComponentId
public void setComponentId(java.lang.String componentId)
Sets the component identifier.- Parameters:
componentId
- the component identifier.- Since:
- 7.1.0
-
-