Interface ExecutionStrategyInstrumentationContext
-
- All Superinterfaces:
InstrumentationContext<ExecutionResult>
@PublicSpi public interface ExecutionStrategyInstrumentationContext extends InstrumentationContext<ExecutionResult>
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionStrategyInstrumentationContextNOOP
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static @NotNull ExecutionStrategyInstrumentationContextnonNullCtx(ExecutionStrategyInstrumentationContext nullableContext)This creates a no-opInstrumentationContextif the one pass in is nulldefault voidonFieldValuesException()default voidonFieldValuesInfo(java.util.List<FieldValueInfo> fieldValueInfoList)-
Methods inherited from interface graphql.execution.instrumentation.InstrumentationContext
onCompleted, onDispatched
-
-
-
-
Field Detail
-
NOOP
static final ExecutionStrategyInstrumentationContext NOOP
-
-
Method Detail
-
onFieldValuesInfo
default void onFieldValuesInfo(java.util.List<FieldValueInfo> fieldValueInfoList)
-
onFieldValuesException
default void onFieldValuesException()
-
nonNullCtx
@NotNull static @NotNull ExecutionStrategyInstrumentationContext nonNullCtx(ExecutionStrategyInstrumentationContext nullableContext)
This creates a no-opInstrumentationContextif the one pass in is null- Parameters:
nullableContext- aInstrumentationContextthat can be null- Returns:
- a non null
InstrumentationContextthat maybe a no-op
-
-