Class PythonLanguage

java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.support.TypedLanguageSupport
org.apache.camel.language.python.PythonLanguage
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.IsSingleton, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.Language, org.apache.camel.spi.ScriptingLanguage

@Language("python") public class PythonLanguage extends org.apache.camel.support.TypedLanguageSupport implements org.apache.camel.spi.ScriptingLanguage
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class org.apache.camel.support.LanguageSupport

    RESOURCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.Expression
     
    org.apache.camel.Predicate
    createPredicate(String expression)
     
    <T> T
    evaluate(String script, Map<String,Object> bindings, Class<T> resultType)
     

    Methods inherited from class org.apache.camel.support.TypedLanguageSupport

    createExpression

    Methods inherited from class org.apache.camel.support.LanguageSupport

    getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.camel.spi.Language

    createPredicate
  • Constructor Details

    • PythonLanguage

      public PythonLanguage()
  • Method Details

    • createPredicate

      public org.apache.camel.Predicate createPredicate(String expression)
      Specified by:
      createPredicate in interface org.apache.camel.spi.Language
    • createExpression

      public org.apache.camel.Expression createExpression(String expression)
      Specified by:
      createExpression in interface org.apache.camel.spi.Language
    • evaluate

      public <T> T evaluate(String script, Map<String,Object> bindings, Class<T> resultType)
      Specified by:
      evaluate in interface org.apache.camel.spi.ScriptingLanguage