Class StaticParameter
java.lang.Object
com.invirgance.convirgance.web.parameter.StaticParameter
- All Implemented Interfaces:
Parameter
Parameter implementation that provides a fixed, predefined value.
StaticParameter supplies a constant value that doesn't depend on the HTTP request.
This is useful for providing configuration values, default settings, or context
information that should be available to services and transformers.
Use this parameter type when you need to: - Include configuration constants in service processing - Add metadata that isn't part of the request - Provide environment or context information to services
- Author:
- jbanes
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StaticParameter
public StaticParameter()
-
-
Method Details
-
getName
Description copied from interface:Parameter
Gets the name of this parameter. -
setName
Sets the parameter name.- Parameters:
name
- The name.
-
getValue
Returns the value regardless of the request. -
setValue
Sets the value.- Parameters:
value
- The value.
-