Interface ExecutionStrategyInstrumentationContext
-
- All Superinterfaces:
InstrumentationContext<ExecutionResult>
@PublicSpi public interface ExecutionStrategyInstrumentationContext extends InstrumentationContext<ExecutionResult>
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionStrategyInstrumentationContext
NOOP
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static @NotNull ExecutionStrategyInstrumentationContext
nonNullCtx(ExecutionStrategyInstrumentationContext nullableContext)
This creates a no-opInstrumentationContext
if the one pass in is nulldefault void
onFieldValuesException()
default void
onFieldValuesInfo(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-opInstrumentationContext
if the one pass in is null- Parameters:
nullableContext
- aInstrumentationContext
that can be null- Returns:
- a non null
InstrumentationContext
that maybe a no-op
-
-