Package graphql.schema.diff
Class DiffEvent.Builder
- java.lang.Object
-
- graphql.schema.diff.DiffEvent.Builder
-
- Enclosing class:
- DiffEvent
public static class DiffEvent.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiffEvent
build()
DiffEvent.Builder
category(DiffCategory category)
DiffEvent.Builder
components(java.lang.Object... args)
DiffEvent.Builder
fieldName(java.lang.String fieldName)
DiffEvent.Builder
level(DiffLevel level)
DiffEvent.Builder
reasonMsg(java.lang.String format, java.lang.Object... args)
DiffEvent.Builder
typeKind(TypeKind typeOfType)
DiffEvent.Builder
typeName(java.lang.String typeName)
-
-
-
Method Detail
-
level
public DiffEvent.Builder level(DiffLevel level)
-
typeName
public DiffEvent.Builder typeName(java.lang.String typeName)
-
fieldName
public DiffEvent.Builder fieldName(java.lang.String fieldName)
-
typeKind
public DiffEvent.Builder typeKind(TypeKind typeOfType)
-
category
public DiffEvent.Builder category(DiffCategory category)
-
reasonMsg
public DiffEvent.Builder reasonMsg(java.lang.String format, java.lang.Object... args)
-
components
public DiffEvent.Builder components(java.lang.Object... args)
-
build
public DiffEvent build()
-
-