org.apache.camel.model
Class NoOutputExpressionNode

java.lang.Object
  extended by org.apache.camel.model.OptionalIdentifiedDefinition
      extended by org.apache.camel.model.ProcessorDefinition<ExpressionNode>
          extended by org.apache.camel.model.ExpressionNode
              extended by org.apache.camel.model.NoOutputExpressionNode
All Implemented Interfaces:
Block, NamedNode
Direct Known Subclasses:
DynamicRouterDefinition, RecipientListDefinition, RoutingSlipDefinition, SetBodyDefinition, SetFaultBodyDefinition, SetHeaderDefinition, SetOutHeaderDefinition, SetPropertyDefinition, SortDefinition, TransformDefinition, ValidateDefinition

public class NoOutputExpressionNode
extends ExpressionNode

An ExpressionNode which does not support any outputs.

This node is to be extended by definitions which need to support an expression but the definition should not contain any outputs, such as TransformDefinition.

Version:

Field Summary
 
Fields inherited from class org.apache.camel.model.ProcessorDefinition
inheritErrorHandler, log
 
Constructor Summary
NoOutputExpressionNode()
           
NoOutputExpressionNode(Expression expression)
           
NoOutputExpressionNode(ExpressionDefinition expression)
           
NoOutputExpressionNode(Predicate predicate)
           
 
Method Summary
 void addOutput(ProcessorDefinition output)
          Adds the given definition as output to this block
 List<ProcessorDefinition> getOutputs()
           
 boolean isOutputSupported()
           
 
Methods inherited from class org.apache.camel.model.ExpressionNode
configureChild, createFilterProcessor, getExpression, getLabel, getShortName, preCreateProcessor, setExpression, setOutputs
 
Methods inherited from class org.apache.camel.model.ProcessorDefinition
addInterceptStrategies, addInterceptStrategy, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, attribute, bean, bean, bean, bean, beanRef, beanRef, choice, clearOutput, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, end, endChoice, endDoTry, endParent, enrich, enrich, enrichRef, filter, filter, filter, filter, getInterceptStrategies, getNodeFactory, getOtherAttributes, getParent, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, loadBalance, loadBalance, log, log, log, log, loop, loop, loop, makeProcessor, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, onCompletion, onException, onException, pipeline, pipeline, pipeline, pipeline, placeholder, policy, policy, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichRef, process, processRef, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeHeaders, removeProperty, resequence, resequence, resolveKnownConstantFields, resolvePropertyPlaceholders, rollback, rollback, routeId, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, sample, sample, sample, setBody, setBody, setExchangePattern, setFaultBody, setFaultHeader, setHeader, setHeader, setInheritErrorHandler, setNodeFactory, setOtherAttributes, setOutHeader, setOutHeader, setParent, setProperty, setProperty, sort, sort, sort, split, split, split, stop, threads, threads, threads, threads, throttle, throttle, throwException, to, to, to, to, to, to, to, to, to, to, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wrapChannel, wrapInErrorHandler, wrapProcessor
 
Methods inherited from class org.apache.camel.model.OptionalIdentifiedDefinition
description, getDescription, getDescriptionText, getId, hasCustomIdAssigned, idOrCreate, setDescription, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOutputExpressionNode

public NoOutputExpressionNode()

NoOutputExpressionNode

public NoOutputExpressionNode(ExpressionDefinition expression)

NoOutputExpressionNode

public NoOutputExpressionNode(Expression expression)

NoOutputExpressionNode

public NoOutputExpressionNode(Predicate predicate)
Method Detail

getOutputs

public List<ProcessorDefinition> getOutputs()
Overrides:
getOutputs in class ExpressionNode

isOutputSupported

public boolean isOutputSupported()
Overrides:
isOutputSupported in class ExpressionNode

addOutput

public void addOutput(ProcessorDefinition output)
Description copied from interface: Block
Adds the given definition as output to this block

Specified by:
addOutput in interface Block
Overrides:
addOutput in class ProcessorDefinition<ExpressionNode>
Parameters:
output - the processor definition


Apache CAMEL