verify

public final Unit verify(List<Parameter<?>> allowedParameters)

Verifies if the parameters in this list matches the allowedParameters. The lists can have different number of elements. The parameters in the allowedParameters list that are not Parameter.optional must be in this list and all parameters in this list must match the type of the parameters with the same name in allowedParameters

Parameters

allowedParameters

the parameters to check against

Throws

if either a required parameter is missing or the types of two parameters don't match