Class Union
- java.lang.Object
-
- io.leangen.graphql.generator.union.Union
-
-
Constructor Summary
Constructors Constructor Description Union(String name, String description, List<AnnotatedType> javaTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()List<AnnotatedType>getJavaTypes()StringgetName()static AnnotatedTypeof(AnnotatedType[] types)static AnnotatedTypeunionize(AnnotatedType[] types, MessageBundle messageBundle)
-
-
-
Constructor Detail
-
Union
public Union(String name, String description, List<AnnotatedType> javaTypes)
-
-
Method Detail
-
unionize
public static AnnotatedType unionize(AnnotatedType[] types, MessageBundle messageBundle)
-
of
public static AnnotatedType of(AnnotatedType[] types)
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getJavaTypes
public List<AnnotatedType> getJavaTypes()
-
-