Uses of Record Class
org.chenile.core.polymorph.ChenilePolymorphVariant
Packages that use ChenilePolymorphVariant
Package
Description
The core Chenile exchange objects are defined here.
Core Chenile initialization and discovery of all Chenile services.
The chief model classes that contain Service and Operation information.
Polymorphic contracts: an operation whose payload type, authorities, name and description vary per
request.
The Chenile transformation framework that transforms JSON to Object.
Publishes Chenile's transport-neutral contracts (contract names, descriptions and polymorph variants) in the
springdoc OpenAPI document.
Chenile MQTT Initialization by detecting the ChenileMqtt annotation.
This contains remote service registry code.
Workflow entry, exit commands etc.
-
Uses of ChenilePolymorphVariant in org.chenile.core.context
Fields in org.chenile.core.context declared as ChenilePolymorphVariantModifier and TypeFieldDescriptionprivate ChenilePolymorphVariantChenileExchange.polymorphVariantThe polymorph variant of this request, resolved in the typing step.Methods in org.chenile.core.context that return ChenilePolymorphVariantMethods in org.chenile.core.context with parameters of type ChenilePolymorphVariantModifier and TypeMethodDescriptionvoidChenileExchange.setPolymorphVariant(ChenilePolymorphVariant polymorphVariant) -
Uses of ChenilePolymorphVariant in org.chenile.core.init
Methods in org.chenile.core.init that return types with arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate List<ChenilePolymorphVariant> ChenilePolymorphInitializer.computeVariants(ChenileServiceDefinition serviceDefinition, OperationDefinition operationDefinition, ChenilePolymorphProvider provider) -
Uses of ChenilePolymorphVariant in org.chenile.core.model
Fields in org.chenile.core.model with type parameters of type ChenilePolymorphVariantModifier and TypeFieldDescriptionprivate List<ChenilePolymorphVariant> OperationDefinition.variantsMethods in org.chenile.core.model that return types with arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionOperationDefinition.getVariants()The variants of a polymorphic operation, computed at startup.Method parameters in org.chenile.core.model with type arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionvoidOperationDefinition.setVariants(List<ChenilePolymorphVariant> variants) -
Uses of ChenilePolymorphVariant in org.chenile.core.polymorph
Methods in org.chenile.core.polymorph that return ChenilePolymorphVariantModifier and TypeMethodDescriptiondefault ChenilePolymorphVariantChenilePolymorphProvider.resolveVariant(ChenileExchange exchange, OperationDefinition operationDefinition) Resolves the variant of one request when that depends on more than the variants' fixed parameter values and body discriminators (for example tenant-specific definitions).ChenilePolymorphVariant.withDescription(String newDescription) A copy of this variant with another description.Methods in org.chenile.core.polymorph that return types with arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionChenilePolymorphProvider.getVariants(ChenileServiceDefinition serviceDefinition, OperationDefinition operationDefinition) -
Uses of ChenilePolymorphVariant in org.chenile.core.transform
Methods in org.chenile.core.transform that return ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate ChenilePolymorphVariantTransformationClassSelector.matchVariant(ChenileExchange exchange, List<ChenilePolymorphVariant> variants) Methods in org.chenile.core.transform that return types with arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionSubclassBodyTypeSelector.getVariants(ChenileServiceDefinition serviceDefinition, OperationDefinition operationDefinition) Methods in org.chenile.core.transform with parameters of type ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate intTransformationClassSelector.score(ChenileExchange exchange, ChenilePolymorphVariant variant, Map<String, String> bodyFields) The number of the variant's selecting values that the request matches, or -1 if any does not match.Method parameters in org.chenile.core.transform with type arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate ChenilePolymorphVariantTransformationClassSelector.matchVariant(ChenileExchange exchange, List<ChenilePolymorphVariant> variants) -
Uses of ChenilePolymorphVariant in org.chenile.http.openapi
Methods in org.chenile.http.openapi with parameters of type ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate voidChenileOpenApiCustomizer.addVariantPath(io.swagger.v3.oas.models.OpenAPI openApi, OperationDefinition od, io.swagger.v3.oas.models.PathItem.HttpMethod method, io.swagger.v3.oas.models.Operation generic, ChenilePolymorphVariant variant, Set<String> pathVariables) One path per variant selected by path variables, with those variables filled in.private io.swagger.v3.oas.models.media.Schema<?> ChenileOpenApiCustomizer.bodySchema(io.swagger.v3.oas.models.OpenAPI openApi, OperationDefinition od, ChenilePolymorphVariant variant) The schema of the operation's body for a variant (or the operation itself when variant is null): the variant's explicit JSON schema, else its type for the body parameter, else the operation's input type.Method parameters in org.chenile.http.openapi with type arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate voidChenileOpenApiCustomizer.describeVariantsOnOperation(io.swagger.v3.oas.models.OpenAPI openApi, OperationDefinition od, io.swagger.v3.oas.models.Operation operation, List<ChenilePolymorphVariant> variants, Set<String> pathVariables) Variants selected by headers or a body field: a oneOf body, allowed header values, authorities per variant. -
Uses of ChenilePolymorphVariant in org.chenile.mcp.init
Methods in org.chenile.mcp.init with parameters of type ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate StringChenileMCPInitializer.augmentDescription(String description, OperationDefinition operationDefinition, ChenilePolymorphVariant polymorphVariant, Method method) private StringChenileMCPInitializer.buildFixedParameterSummary(ChenilePolymorphVariant polymorphVariant) private StringChenileMCPInitializer.buildParameterSummary(OperationDefinition operationDefinition, ChenilePolymorphVariant polymorphVariant) ChenileMCPInitializer.buildToolParameters(OperationDefinition operationDefinition, ChenilePolymorphVariant polymorphVariant) private voidChenileMCPInitializer.registerAsMCP(ChenileServiceDefinition serviceDefinition, OperationDefinition operationDefinition, ChenilePolymorphVariant polymorphVariant) -
Uses of ChenilePolymorphVariant in org.chenile.query.service.polymorph.impl
Methods in org.chenile.query.service.polymorph.impl that return ChenilePolymorphVariantModifier and TypeMethodDescriptionQueryPolymorph.resolveVariant(ChenileExchange exchange, OperationDefinition operationDefinition) The variant of one request, from the current tenant's definition of the query, so that tenant-specific ACLs apply.Methods in org.chenile.query.service.polymorph.impl that return types with arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionQueryPolymorph.getVariants(ChenileServiceDefinition serviceDefinition, OperationDefinition operationDefinition) -
Uses of ChenilePolymorphVariant in org.chenile.service.registry.model
Methods in org.chenile.service.registry.model with parameters of type ChenilePolymorphVariantModifier and TypeMethodDescriptionprivate tools.jackson.databind.JsonNodeChenileRemoteOperationDefinition.variantBodySchema(OperationDefinition od, ParamDefinition body, ChenilePolymorphVariant variant, ChenileJsonSchemaGenerator schemaGenerator, tools.jackson.databind.node.ObjectNode components, tools.jackson.databind.ObjectMapper objectMapper) -
Uses of ChenilePolymorphVariant in org.chenile.workflow.service.stmcmds
Methods in org.chenile.workflow.service.stmcmds that return types with arguments of type ChenilePolymorphVariantModifier and TypeMethodDescriptionStmBodyTypeSelector.getVariants(ChenileServiceDefinition serviceDefinition, OperationDefinition operationDefinition)
CHENILE