public class ExclusiveOptionalsTypeAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
TypeAnnotation used to enrich an ObjectType by specifying
that the contained parameters have an exclusive relation as it is specified in ExclusiveOptionals
This class is immutable.
| Constructor and Description |
|---|
ExclusiveOptionalsTypeAnnotation(Set<String> exclusiveParameterNames,
boolean isOneRequired) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<String> |
getExclusiveParameterNames() |
String |
getName() |
int |
hashCode() |
boolean |
isOneRequired() |
boolean |
isPublic() |
public static final String NAME
public boolean isOneRequired()
public String getName()
getName in interface org.mule.metadata.api.annotation.TypeAnnotationpublic boolean isPublic()
isPublic in interface org.mule.metadata.api.annotation.TypeAnnotationCopyright © 2018 MuleSoft, Inc.. All rights reserved.