Interface IParametersManager
- All Known Subinterfaces:
IParametersAndDefinitionsManager
public interface IParametersManager
Manager of parameters of the parent object.
- Since:
- 3.9.2
-
Method Summary
Modifier and TypeMethodDescriptiongetParameter
(String parameterName) Gets the parameter with the given name.List<IParameter<?>>
Returns an immutable list of existing parameters.boolean
removeParameter
(String parameterName) Removes the parameter.<T> IParameterStruct<T>
setParameter
(String parameterName, T parameterValue) Sets the value of the parameter with the given name.
-
Method Details
-
getParameters
Returns an immutable list of existing parameters. The list is sorted lexicographically by parameter name. -
getParameter
Gets the parameter with the given name. -
setParameter
@NotNull <T> IParameterStruct<T> setParameter(@NotNull String parameterName, @Nullable T parameterValue) Sets the value of the parameter with the given name.- Returns:
- the added or modified parameter structure.
-
removeParameter
Removes the parameter.- Returns:
- true if the parameter was actually removed.
-