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 theReportAdditionalInfoobject.Returns the description that was set on theReportAdditionalInfoobject.Returns the throwable of the step on theReportAdditionalInfoobject.getImage()Returns the image of the step that was set on theReportAdditionalInfoobject.Returns the path of the image file of the step that was set on theReportAdditionalInfoobject.Returns the status that was set on theReportAdditionalInfoobject.Sets the custom additional data of the step on theReportAdditionalInfoobject.setDescription(String description) Sets the description of the step on theReportAdditionalInfoobject.setException(Throwable throwable) Sets the throwable of the step on theReportAdditionalInfoobject.setImage(RenderedImage image) Sets the image of the step on theReportAdditionalInfoobject.setImagePath(String imagePath) Sets the path of the image file of the step on theReportAdditionalInfoobject.Sets the status of the step on theReportAdditionalInfoobject.
-
Constructor Details
-
ReportAdditionalInfo
public ReportAdditionalInfo()
-
-
Method Details
-
setDescription
Sets the description of the step on theReportAdditionalInfoobject.- Parameters:
description- - the description of the step.- Returns:
- A
ReportAdditionalInfoobject.
-
setStatus
Sets the status of the step on theReportAdditionalInfoobject.- Parameters:
status- - the status of the step asStatus.- Returns:
- A
ReportAdditionalInfoobject.
-
setException
Sets the throwable of the step on theReportAdditionalInfoobject.- Parameters:
throwable- - the reason for the step failure, as a Throwable object.- Returns:
- A
ReportAdditionalInfoobject.
-
setImage
Sets the image of the step on theReportAdditionalInfoobject.- Parameters:
image- - the image of the step as a RenderedImage object.- Returns:
- A
ReportAdditionalInfoobject. - Throws:
ReportException
-
setImagePath
Sets the path of the image file of the step on theReportAdditionalInfoobject.- Parameters:
imagePath- - the absolute path to the custom image.- Returns:
- A
ReportAdditionalInfoobject. - Throws:
ReportException
-
setData
Sets the custom additional data of the step on theReportAdditionalInfoobject.- Parameters:
additionalData- - the custom additional data as a Map object.- Returns:
- A
ReportAdditionalInfoobject.
-
getDescription
Returns the description that was set on theReportAdditionalInfoobject.- Returns:
- description.
-
getData
Returns the custom data that was set on theReportAdditionalInfoobject.- Returns:
- the map object containing custom data.
-
getStatus
Returns the status that was set on theReportAdditionalInfoobject.- Returns:
- the
Status.
-
getException
Returns the throwable of the step on theReportAdditionalInfoobject.- Returns:
- throwable
-
getImage
Returns the image of the step that was set on theReportAdditionalInfoobject.- Returns:
- The image as a RenderedImage object.
- Throws:
ReportException
-
getImagePath
Returns the path of the image file of the step that was set on theReportAdditionalInfoobject.- Returns:
- The image as a RenderedImage object.
- Throws:
ReportException
-