public class DeploymentMessageWriter extends Object
Constructor and Description |
---|
DeploymentMessageWriter(String packageName,
String moduleId,
String componentId)
Creates a new instance with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
setComponentId(String componentId)
Sets the component identifier.
|
void |
setModuleId(String moduleId)
Sets the module identifier.
|
void |
setPackageName(String packageName)
Sets the package name.
|
void |
write(String title,
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.
|
public DeploymentMessageWriter(String packageName, String moduleId, String componentId)
packageName
- the current package name (if any).moduleId
- the current module identifier (if any).componentId
- the current component identifier (if any).public void write(String title, String message, DeploymentMessageLevel level) throws PortalException
title
- the message title.message
- the message text.level
- the message level.PortalException
public void setPackageName(String packageName)
packageName
- the package name.public void setModuleId(String moduleId)
moduleId
- the module identifier.public void setComponentId(String componentId)
componentId
- the component identifier.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.