Interface CSimpleExpression

All Superinterfaces:
org.apache.camel.Expression, org.apache.camel.Predicate
All Known Implementing Classes:
CSimpleSupport

public interface CSimpleExpression extends org.apache.camel.Expression, org.apache.camel.Predicate
CSimple for Expression or Predicate.
  • Method Summary

    Modifier and Type
    Method
    Description
    The csimple script as text
    default void
    init(org.apache.camel.CamelContext context)
    To do custom initialization
    boolean
    Whether this script is to be used as predicate only.

    Methods inherited from interface org.apache.camel.Expression

    evaluate

    Methods inherited from interface org.apache.camel.Predicate

    initPredicate, matches
  • Method Details

    • isPredicate

      boolean isPredicate()
      Whether this script is to be used as predicate only.
    • getText

      String getText()
      The csimple script as text
    • init

      default void init(org.apache.camel.CamelContext context)
      To do custom initialization
      Specified by:
      init in interface org.apache.camel.Expression
      Specified by:
      init in interface org.apache.camel.Predicate
      Parameters:
      context - the camel context