public class ParameterGroupUtils extends Object
ParameterGroup or ParameterGroup
could be used| Constructor and Description |
|---|
ParameterGroupUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<ParameterGroupInfo> |
getParameterGroupInfo(ExtensionParameter extensionParameter)
Given a map that holds as key annotations classes, and as value an instance of that annotation class.
|
static boolean |
hasParameterGroupAnnotation(Set<Class<? extends Annotation>> annotations)
Given a set of annotation, this method returns whether they correspond to a parameter group or not.
|
static Optional<Boolean> |
isParameterGroupShowInDsl(Map<Class<? extends Annotation>,Annotation> annotations)
Given a map that holds as key annotations classes, and as value an instance of that annotation class.
|
public static boolean hasParameterGroupAnnotation(Set<Class<? extends Annotation>> annotations)
annotations - a set of annotationspublic static Optional<Boolean> isParameterGroupShowInDsl(Map<Class<? extends Annotation>,Annotation> annotations)
Optional which holds a Boolean that says whether
the parameter group is showInDsl or not. If no corresponding annotation is present, it returns Optional.empty()annotations - a map that holds as key annotations classes, and as value an instance of that annotation class.Optional.empty() if the given annotations do not
correspond to a parameter group.public static Optional<ParameterGroupInfo> getParameterGroupInfo(ExtensionParameter extensionParameter)
Optional with the ParameterGroupInfo that
represents the parameter group. If no corresponding annotation is present, it returns Optional.empty()annotations - a map that holds as key annotations classes, and as value an instance of that annotation class.ParameterGroupInfo that represents the parameter group, or Optional.empty() if the given annotations
do not correspond to a parameter group.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.