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 theReportContextInfoobject.getData()Returns the custom data which was set on theReportContextInfoobject.Returns the description which was set on theReportContextInfoobject.Sets the custom additional data of the reporting context on theReportContextInfoobject.setDescription(String description) Sets the description of the reporting context on theReportContextInfoobject.setMode(ReportContextMode contextMode) Sets the mode of the reporting context.static ReportContextInfoSets the mode of the reporting context to Verification.
-
Constructor Details
-
ReportContextInfo
public ReportContextInfo()
-
-
Method Details
-
setDescription
Sets the description of the reporting context on theReportContextInfoobject.- Parameters:
description- - the description of the reporting context.- Returns:
ReportContextInfoobject that can be used as a builder to set other fields.
-
setData
Sets the custom additional data of the reporting context on theReportContextInfoobject.- Parameters:
additionalData- - the custom additional data as a Map object.- Returns:
ReportContextInfoobject 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:
ReportContextInfoobject that can be used as a builder to set other fields.
-
getDescription
Returns the description which was set on theReportContextInfoobject.- Returns:
- description
-
getData
Returns the custom data which was set on theReportContextInfoobject.- Returns:
- the map object containing custom data.
-
getContextMode
Returns the context mode which was set on theReportContextInfoobject.- Returns:
ReportContextMode
-
verificationMode
Sets the mode of the reporting context to Verification.- Returns:
ReportContextInfoobject that can be used as a builder to set other fields.
-