Class MutationPlan.Compiler
java.lang.Object
io.fluxzero.sdk.modeling.MutationPlan.Compiler
- Enclosing class:
MutationPlan
Compiles immutable definition data with application-specific parameter resolvers.
-
Constructor Summary
ConstructorsConstructorDescriptionCompiler(List<ParameterResolver<? super DeserializingMessage>> parameterResolvers) Compiler(List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, boolean assertCurrentDefault) Creates application-bound plans with the already resolved interceptor validation default.Compiler(List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, boolean assertCurrentDefault, boolean aliasTargets) Creates application-bound plans with resolved validation and identity-selection defaults. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this application uses property-aware Model identity selection.compileReplay(Class<?> payloadType, Class<?> modelType) Returns the cached replay plan for the supplied payload and Model types, compiling it on first use.
-
Constructor Details
-
Compiler
-
Compiler
public Compiler(List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, boolean assertCurrentDefault) Creates application-bound plans with the already resolved interceptor validation default. -
Compiler
public Compiler(List<ParameterResolver<? super DeserializingMessage>> parameterResolvers, boolean assertCurrentDefault, boolean aliasTargets) Creates application-bound plans with resolved validation and identity-selection defaults.
-
-
Method Details
-
aliasTargets
public boolean aliasTargets()Whether this application uses property-aware Model identity selection. -
compileReplay
Returns the cached replay plan for the supplied payload and Model types, compiling it on first use.
-