Interface HvlRToolReportParamValueCodec
- All Known Implementing Classes:
HvlRToolReportParamValueJsonCodec
public interface HvlRToolReportParamValueCodec
The type defines encoding and decoding operations for report param value conversion.
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.google.common.collect.ImmutableSet<String>
decodeToStringValuesFor
(HvlRToolReportExecutingParam reportExecutingParam) Decode to string values for immutable set.com.google.common.collect.ImmutableSet<String>
decodeToStringValuesWith
(HvlRToolParamValueType paramValueTypeToDecode, byte[] paramTypedValueContent) Decode to string values with immutable set.default byte[]
encodeToTypedValueContentFor
(HvlRToolReportExecutingParamModel reportExecutingParamModel) Encode to typed value content for byte [ ].byte[]
encodeToTypedValueContentWith
(HvlRToolParamValueType paramValueTypeToEncode, com.google.common.collect.ImmutableSet<String> paramStringValues) Encode to typed value content with byte [ ].default Object
transformToTypedValueFor
(HvlRToolReportExecutionParamModel reportExecutionParam) Transform to typed value with object.transformToTypedValueWith
(HvlRToolParamValueType paramValueTypeToConversion, boolean acceptMultipleParamValue, com.google.common.collect.ImmutableSet<String> paramStringValues) Transform to typed value with object.
-
Method Details
-
encodeToTypedValueContentWith
byte[] encodeToTypedValueContentWith(HvlRToolParamValueType paramValueTypeToEncode, com.google.common.collect.ImmutableSet<String> paramStringValues) Encode to typed value content with byte [ ].- Parameters:
paramValueTypeToEncode
- the param value type to encodeparamStringValues
- the report param string values- Returns:
- the byte [ ]
-
encodeToTypedValueContentFor
default byte[] encodeToTypedValueContentFor(HvlRToolReportExecutingParamModel reportExecutingParamModel) Encode to typed value content for byte [ ].- Parameters:
reportExecutingParamModel
- the report executing param model- Returns:
- the byte [ ]
-
decodeToStringValuesWith
com.google.common.collect.ImmutableSet<String> decodeToStringValuesWith(HvlRToolParamValueType paramValueTypeToDecode, byte[] paramTypedValueContent) Decode to string values with immutable set.- Parameters:
paramValueTypeToDecode
- the param value type to decodeparamTypedValueContent
- the report param typed value content- Returns:
- the immutable set
-
decodeToStringValuesFor
default com.google.common.collect.ImmutableSet<String> decodeToStringValuesFor(HvlRToolReportExecutingParam reportExecutingParam) Decode to string values for immutable set.- Parameters:
reportExecutingParam
- the report executing param- Returns:
- the immutable set
-
transformToTypedValueWith
Object transformToTypedValueWith(HvlRToolParamValueType paramValueTypeToConversion, boolean acceptMultipleParamValue, com.google.common.collect.ImmutableSet<String> paramStringValues) Transform to typed value with object.- Parameters:
paramValueTypeToConversion
- the param value type to conversionacceptMultipleParamValue
- the accept multiple param valueparamStringValues
- the param string values- Returns:
- the object
-
transformToTypedValueFor
Transform to typed value with object.- Parameters:
reportExecutionParam
- the report execution param- Returns:
- the object
-