Package com.hp.lft.report
Class ReportAdditionalInfo
java.lang.Object
com.hp.lft.report.ReportAdditionalInfo
Represents the information used to describe a custom step.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Returns the custom data that was set on theReportAdditionalInfo
object.Returns the description that was set on theReportAdditionalInfo
object.Returns the throwable of the step on theReportAdditionalInfo
object.getImage()
Returns the image of the step that was set on theReportAdditionalInfo
object.Returns the path of the image file of the step that was set on theReportAdditionalInfo
object.Returns the status that was set on theReportAdditionalInfo
object.Sets the custom additional data of the step on theReportAdditionalInfo
object.setDescription
(String description) Sets the description of the step on theReportAdditionalInfo
object.setException
(Throwable throwable) Sets the throwable of the step on theReportAdditionalInfo
object.setImage
(RenderedImage image) Sets the image of the step on theReportAdditionalInfo
object.setImagePath
(String imagePath) Sets the path of the image file of the step on theReportAdditionalInfo
object.Sets the status of the step on theReportAdditionalInfo
object.
-
Constructor Details
-
ReportAdditionalInfo
public ReportAdditionalInfo()
-
-
Method Details
-
setDescription
Sets the description of the step on theReportAdditionalInfo
object.- Parameters:
description
- - the description of the step.- Returns:
- A
ReportAdditionalInfo
object.
-
setStatus
Sets the status of the step on theReportAdditionalInfo
object.- Parameters:
status
- - the status of the step asStatus
.- Returns:
- A
ReportAdditionalInfo
object.
-
setException
Sets the throwable of the step on theReportAdditionalInfo
object.- Parameters:
throwable
- - the reason for the step failure, as a Throwable object.- Returns:
- A
ReportAdditionalInfo
object.
-
setImage
Sets the image of the step on theReportAdditionalInfo
object.- Parameters:
image
- - the image of the step as a RenderedImage object.- Returns:
- A
ReportAdditionalInfo
object. - Throws:
ReportException
-
setImagePath
Sets the path of the image file of the step on theReportAdditionalInfo
object.- Parameters:
imagePath
- - the absolute path to the custom image.- Returns:
- A
ReportAdditionalInfo
object. - Throws:
ReportException
-
setData
Sets the custom additional data of the step on theReportAdditionalInfo
object.- Parameters:
additionalData
- - the custom additional data as a Map object.- Returns:
- A
ReportAdditionalInfo
object.
-
getDescription
Returns the description that was set on theReportAdditionalInfo
object.- Returns:
- description.
-
getData
Returns the custom data that was set on theReportAdditionalInfo
object.- Returns:
- the map object containing custom data.
-
getStatus
Returns the status that was set on theReportAdditionalInfo
object.- Returns:
- the
Status
.
-
getException
Returns the throwable of the step on theReportAdditionalInfo
object.- Returns:
- throwable
-
getImage
Returns the image of the step that was set on theReportAdditionalInfo
object.- Returns:
- The image as a RenderedImage object.
- Throws:
ReportException
-
getImagePath
Returns the path of the image file of the step that was set on theReportAdditionalInfo
object.- Returns:
- The image as a RenderedImage object.
- Throws:
ReportException
-