Package com.hp.lft.report
Class ReportContextInfo
java.lang.Object
com.hp.lft.report.ReportContextInfo
Represents the information used to describe a reporting context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the context mode which was set on theReportContextInfo
object.getData()
Returns the custom data which was set on theReportContextInfo
object.Returns the description which was set on theReportContextInfo
object.Sets the custom additional data of the reporting context on theReportContextInfo
object.setDescription
(String description) Sets the description of the reporting context on theReportContextInfo
object.setMode
(ReportContextMode contextMode) Sets the mode of the reporting context.static ReportContextInfo
Sets the mode of the reporting context to Verification.
-
Constructor Details
-
ReportContextInfo
public ReportContextInfo()
-
-
Method Details
-
setDescription
Sets the description of the reporting context on theReportContextInfo
object.- Parameters:
description
- - the description of the reporting context.- Returns:
ReportContextInfo
object that can be used as a builder to set other fields.
-
setData
Sets the custom additional data of the reporting context on theReportContextInfo
object.- Parameters:
additionalData
- - the custom additional data as a Map object.- Returns:
ReportContextInfo
object that can be used as a builder to set other fields.
-
setMode
Sets the mode of the reporting context. Default value = Normal.- Parameters:
contextMode
- - the context mode asReportContextMode
.- Returns:
ReportContextInfo
object that can be used as a builder to set other fields.
-
getDescription
Returns the description which was set on theReportContextInfo
object.- Returns:
- description
-
getData
Returns the custom data which was set on theReportContextInfo
object.- Returns:
- the map object containing custom data.
-
getContextMode
Returns the context mode which was set on theReportContextInfo
object.- Returns:
ReportContextMode
-
verificationMode
Sets the mode of the reporting context to Verification.- Returns:
ReportContextInfo
object that can be used as a builder to set other fields.
-