Class ValidatorAdapterDefinition
java.lang.Object
org.apache.camel.model.OptionalIdentifiedDefinition<org.apache.camel.model.RouteDefinition>
org.apache.camel.model.ProcessorDefinition<org.apache.camel.model.RouteDefinition>
org.apache.camel.model.OutputDefinition<org.apache.camel.model.RouteDefinition>
org.openehealth.ipf.platform.camel.core.model.DelegateDefinition
org.openehealth.ipf.platform.camel.core.model.ProcessorAdapterDefinition
org.openehealth.ipf.platform.camel.core.model.ValidatorAdapterDefinition
- All Implemented Interfaces:
CamelContextAware,LineNumberAware,org.apache.camel.model.Block,org.apache.camel.model.CopyableDefinition<org.apache.camel.model.ProcessorDefinition>,org.apache.camel.model.OutputNode,NamedNode,HasCamelContext,HasId,IdAware
@Metadata(label="ipf,eip,transformation")
public class ValidatorAdapterDefinition
extends ProcessorAdapterDefinition
- Author:
- Martin Krasser, Christian Ohr
-
Field Summary
Fields inherited from class org.apache.camel.model.OutputDefinition
outputsFields inherited from class org.apache.camel.model.ProcessorDefinition
disabled, inheritErrorHandler -
Constructor Summary
ConstructorsConstructorDescriptionValidatorAdapterDefinition(String validatorBean) ValidatorAdapterDefinition(Validator<?, ?> validator) -
Method Summary
Modifier and TypeMethodDescriptionValidator<?, ?> Defines the profile for the validation via the given closureprofile(Expression profileExpression) Defines the profile for the validation via the given expressionInterprets the defined profile as Schematron rules location and validates against itvoidsetValidator(Validator<?, ?> validator) staticProfile(Object profile) Defines the static profile for the validationtoString()xsd()Interprets the defined profile as W3C schema location and validates against itMethods inherited from class org.openehealth.ipf.platform.camel.core.model.ProcessorAdapterDefinition
getInputExpression, getParamsExpression, input, input, params, params, params, staticParamsMethods inherited from class org.apache.camel.model.OutputDefinition
copyDefinition, getOutputs, setOutputsMethods inherited from class org.apache.camel.model.ProcessorDefinition
addInterceptStrategy, addOutput, aggregate, aggregate, aggregate, aggregate, bean, bean, bean, bean, bean, bean, bean, bean, bean, bean, bean, choice, circuitBreaker, claimCheck, claimCheck, claimCheck, claimCheck, clearOutput, configureChild, convertBodyTo, convertBodyTo, convertBodyTo, convertHeaderTo, convertHeaderTo, convertHeaderTo, convertHeaderTo, convertVariableTo, convertVariableTo, convertVariableTo, convertVariableTo, delay, delay, delay, disabled, disabled, disabled, doTry, dynamicRouter, dynamicRouter, end, endChoice, endCircuitBreaker, endDoCatch, endDoTry, endParent, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrich, enrichWith, enrichWith, enrichWith, enrichWith, enrichWith, enrichWith, filter, filter, filter, filter, getDisabled, getIndex, getInterceptStrategies, getLabel, getParent, getRouteConfiguration, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, isAbstract, isInheritErrorHandler, isTopLevelOnly, isWrappingEntireOutput, kamelet, loadBalance, loadBalance, log, log, log, log, log, log, loop, loop, loop, loopDoWhile, loopDoWhile, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, nodePrefixId, onCompletion, onException, onException, onException, onException, pausable, pausable, pausable, pausable, pipeline, pipeline, pipeline, policy, policy, poll, poll, poll, poll, poll, poll, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichWith, pollEnrichWith, pollEnrichWith, pollEnrichWith, pollEnrichWith, pollEnrichWith, pollV, preCreateProcessor, process, process, process, recipientList, recipientList, recipientList, recipientList, removeHeader, removeHeaders, removeHeaders, removeProperties, removeProperties, removeProperty, removeVariable, resequence, resequence, resumable, resumable, resumable, rollback, rollback, routeDescription, routeGroup, routeId, routingSlip, routingSlip, routingSlip, saga, sample, sample, sample, sample, script, script, serviceCall, serviceCall, serviceCall, setBody, setBody, setBody, setDisabled, setExchangePattern, setExchangePattern, setHeader, setHeader, setHeader, setHeaders, setInheritErrorHandler, setParent, setProperty, setProperty, setProperty, setRouteConfiguration, setVariable, setVariable, setVariable, setVariables, sort, sort, sort, split, split, split, split, startupOrder, step, step, stop, threads, threads, threads, threads, throttle, throttle, throttle, throttle, throttle, throwException, throwException, to, to, to, to, to, to, to, to, to, to, to, to, toD, toD, toD, toD, toD, toD, toD, toD, toD, toF, tokenize, toV, transacted, transacted, transform, transform, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTapMethods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition
description, getCamelContext, getCustomId, getDescription, getDescriptionText, getId, getLineNumber, getLocation, getNodePrefixId, hasCustomIdAssigned, idOrCreate, setCamelContext, setCustomId, setDescription, setGeneratedId, setId, setLineNumber, setLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.NamedNode
acceptDebugger
-
Constructor Details
-
ValidatorAdapterDefinition
public ValidatorAdapterDefinition() -
ValidatorAdapterDefinition
-
ValidatorAdapterDefinition
-
-
Method Details
-
setValidator
-
staticProfile
Defines the static profile for the validation- Parameters:
profile- the profile to use
-
profile
Defines the profile for the validation via the given expression- Parameters:
profileExpression- the profile expression
-
profile
Defines the profile for the validation via the given closure- Parameters:
profileExpression- the profile closure
-
xsd
Interprets the defined profile as W3C schema location and validates against it -
schematron
Interprets the defined profile as Schematron rules location and validates against it -
toString
- Overrides:
toStringin classorg.apache.camel.model.OutputDefinition<org.apache.camel.model.RouteDefinition>
-
getShortName
- Specified by:
getShortNamein interfaceNamedNode- Overrides:
getShortNamein classorg.apache.camel.model.OutputDefinition<org.apache.camel.model.RouteDefinition>
-
getValidator
-
getValidatorBean
-
getProfile
-
getProfileExpression
-