org.mule.construct.builder
Class ValidatorBuilder

java.lang.Object
  extended by org.mule.construct.builder.AbstractFlowConstructBuilder<T,F>
      extended by org.mule.construct.builder.AbstractFlowConstructWithSingleInboundEndpointBuilder<T,F>
          extended by org.mule.construct.builder.AbstractFlowConstructWithSingleInboundAndOutboundEndpointBuilder<ValidatorBuilder,Validator>
              extended by org.mule.construct.builder.ValidatorBuilder

public class ValidatorBuilder
extends AbstractFlowConstructWithSingleInboundAndOutboundEndpointBuilder<ValidatorBuilder,Validator>


Field Summary
protected  String ackExpression
           
protected  String errorExpression
           
protected  String nackExpression
           
protected  Filter validationFilter
           
 
Fields inherited from class org.mule.construct.builder.AbstractFlowConstructBuilder
exceptionListener, initialState, messageSource, name, responseTransformers, transformers
 
Constructor Summary
ValidatorBuilder()
           
 
Method Summary
 ValidatorBuilder ackExpression(String ackExpression)
           
protected  Validator buildFlowConstruct(MuleContext muleContext)
           
 ValidatorBuilder errorExpression(String errorExpression)
           
protected  MessageExchangePattern getInboundMessageExchangePattern()
           
protected  MessageExchangePattern getOutboundMessageExchangePattern()
           
protected  boolean hasErrorExpression()
           
 ValidatorBuilder nackExpression(String nackExpression)
           
 ValidatorBuilder validationFilter(Filter validationFilter)
           
 
Methods inherited from class org.mule.construct.builder.AbstractFlowConstructWithSingleInboundAndOutboundEndpointBuilder
doConfigureOutboundEndpointBuilder, getOrBuildOutboundEndpoint, outboundAddress, outboundEndpoint, outboundEndpoint
 
Methods inherited from class org.mule.construct.builder.AbstractFlowConstructWithSingleInboundEndpointBuilder
doConfigureInboundEndpointBuilder, getOrBuildInboundEndpoint, inboundAddress, inboundEndpoint, inboundEndpoint
 
Methods inherited from class org.mule.construct.builder.AbstractFlowConstructBuilder
addExceptionListener, build, buildAndRegister, exceptionStrategy, initialState, messageSource, name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

validationFilter

protected Filter validationFilter

ackExpression

protected String ackExpression

nackExpression

protected String nackExpression

errorExpression

protected String errorExpression
Constructor Detail

ValidatorBuilder

public ValidatorBuilder()
Method Detail

validationFilter

public ValidatorBuilder validationFilter(Filter validationFilter)

ackExpression

public ValidatorBuilder ackExpression(String ackExpression)

nackExpression

public ValidatorBuilder nackExpression(String nackExpression)

errorExpression

public ValidatorBuilder errorExpression(String errorExpression)

getInboundMessageExchangePattern

protected MessageExchangePattern getInboundMessageExchangePattern()
Specified by:
getInboundMessageExchangePattern in class AbstractFlowConstructWithSingleInboundEndpointBuilder<ValidatorBuilder,Validator>

getOutboundMessageExchangePattern

protected MessageExchangePattern getOutboundMessageExchangePattern()
Specified by:
getOutboundMessageExchangePattern in class AbstractFlowConstructWithSingleInboundAndOutboundEndpointBuilder<ValidatorBuilder,Validator>

buildFlowConstruct

protected Validator buildFlowConstruct(MuleContext muleContext)
                                throws MuleException
Specified by:
buildFlowConstruct in class AbstractFlowConstructBuilder<ValidatorBuilder,Validator>
Throws:
MuleException

hasErrorExpression

protected boolean hasErrorExpression()


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.