Class ParameterValueFactory
java.lang.Object
io.jenkins.plugins.mcp.server.extensions.util.ParameterValueFactory
Factory class for creating parameter values from different parameter definitions.
Supports both core Jenkins parameter types and common plugin parameter types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterValue
createParameterValue
(ParameterDefinition param, Object inputValue) Creates a parameter value from a parameter definition and input value.
-
Constructor Details
-
ParameterValueFactory
public ParameterValueFactory()
-
-
Method Details
-
createParameterValue
Creates a parameter value from a parameter definition and input value. This method supports both core Jenkins parameter types and plugin-specific types.- Parameters:
param
- the parameter definitioninputValue
- the input value from the user- Returns:
- the created parameter value, or null if creation fails
-