Package graphql.schema.diff
Class DiffEvent
- java.lang.Object
-
- graphql.schema.diff.DiffEvent
-
@PublicApi public class DiffEvent extends java.lang.Object
This represents the events that theSchemaDiff
outputs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DiffEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiffEvent.Builder
apiBreakage()
static DiffEvent.Builder
apiDanger()
static DiffEvent.Builder
apiInfo()
DiffCategory
getCategory()
java.util.List<java.lang.String>
getComponents()
java.lang.String
getFieldName()
DiffLevel
getLevel()
java.lang.String
getReasonMsg()
TypeKind
getTypeKind()
java.lang.String
getTypeName()
java.lang.String
toString()
-
-
-
Method Detail
-
getTypeName
public java.lang.String getTypeName()
-
getTypeKind
public TypeKind getTypeKind()
-
getReasonMsg
public java.lang.String getReasonMsg()
-
getLevel
public DiffLevel getLevel()
-
getFieldName
public java.lang.String getFieldName()
-
getCategory
public DiffCategory getCategory()
-
getComponents
public java.util.List<java.lang.String> getComponents()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
apiInfo
public static DiffEvent.Builder apiInfo()
-
apiDanger
public static DiffEvent.Builder apiDanger()
-
apiBreakage
public static DiffEvent.Builder apiBreakage()
-
-