Class BindingParameter
java.lang.Object
com.invirgance.convirgance.web.service.BindingParameter
- All Implemented Interfaces:
Comparable
Provides access to request parameters within the data processing pipeline.
BindingParameter acts as a reference to a specific request parameter stored
in thread-local storage.
Common uses include: - Accessing request values in filter conditions - Referencing request parameters in transformers - Using request parameters as values in expressions
- Author:
- jbanes
-
Constructor Summary
ConstructorsConstructorDescriptionBindingParameter
(String key) Creates a new BindingParameter with the specified key. -
Method Summary
Modifier and TypeMethodDescriptionint
This enables BindingParameter instances to be used directly in comparison operations with values of different types.boolean
Compares the parameter value with another object for equality.getKey()
Gets the parameter key.getValue()
Retrieves the value of the parameter from thread-local request parameters.int
hashCode()
void
Sets the parameter key to retrieve from request parameters.toString()
-
Constructor Details
-
BindingParameter
public BindingParameter() -
BindingParameter
Creates a new BindingParameter with the specified key.- Parameters:
key
- The parameter key to retrieve from request parameters
-
-
Method Details
-
getKey
Gets the parameter key.- Returns:
- The parameter key
-
setKey
Sets the parameter key to retrieve from request parameters.- Parameters:
key
- The parameter key
-
getValue
Retrieves the value of the parameter from thread-local request parameters.- Returns:
- The parameter value
-
hashCode
public int hashCode() -
equals
Compares the parameter value with another object for equality. -
toString
-
compareTo
This enables BindingParameter instances to be used directly in comparison operations with values of different types.- Specified by:
compareTo
in interfaceComparable
- Parameters:
object
- The object to compare with- Returns:
- A negative integer, zero, or a positive integer if this value is less than, equal to, or greater than the specified object
-