Package org.apache.camel.model
Interface PreconditionContainer
- All Superinterfaces:
org.apache.camel.LineNumberAware
,org.apache.camel.NamedNode
- All Known Implementing Classes:
RouteConfigurationDefinition
,RouteDefinition
public interface PreconditionContainer
extends org.apache.camel.NamedNode
Indicates that the configuration element holds a precondition to determine if it should be included or not.
-
Method Summary
Modifier and TypeMethodDescriptionThe predicate of the precondition in simple language to evaluate in order to determine if it should be included or not.void
setPrecondition
(String precondition) The predicate of the precondition in simple language to evaluate in order to determine if it should be included or not.Methods inherited from interface org.apache.camel.LineNumberAware
getLineNumber, getLocation, setLineNumber, setLocation
Methods inherited from interface org.apache.camel.NamedNode
getDescriptionText, getId, getLabel, getParent, getShortName
-
Method Details
-
getPrecondition
String getPrecondition()The predicate of the precondition in simple language to evaluate in order to determine if it should be included or not. -
setPrecondition
The predicate of the precondition in simple language to evaluate in order to determine if it should be included or not.
-