Class GroovyStaticScript

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
org.apache.camel.quarkus.component.groovy.runtime.GroovyStaticScript
All Implemented Interfaces:
groovy.lang.GroovyObject

public abstract class GroovyStaticScript extends groovy.lang.Script
A type of Script that is specific to Camel with fixed fields to be able to compile the script using static compilation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Object
     
    protected org.apache.camel.CamelContext
     
    protected org.apache.camel.Exchange
     
    protected Map<String,Object>
     
    protected org.apache.camel.Message
     
    protected org.apache.camel.Message
     
    protected org.apache.camel.Message
     
    protected org.apache.camel.Message
     
    protected org.apache.camel.RouteTemplateContext
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setBinding(groovy.lang.Binding binding)
     

    Methods inherited from class groovy.lang.Script

    evaluate, evaluate, getBinding, getProperty, invokeMethod, print, printf, printf, println, println, run, run, setProperty

    Methods inherited from class groovy.lang.GroovyObjectSupport

    getMetaClass, setMetaClass

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • headers

      protected Map<String,Object> headers
    • body

      protected Object body
    • in

      protected org.apache.camel.Message in
    • request

      protected org.apache.camel.Message request
    • exchange

      protected org.apache.camel.Exchange exchange
    • out

      protected org.apache.camel.Message out
    • response

      protected org.apache.camel.Message response
    • camelContext

      protected org.apache.camel.CamelContext camelContext
    • rtc

      protected org.apache.camel.RouteTemplateContext rtc
  • Constructor Details

    • GroovyStaticScript

      public GroovyStaticScript()
  • Method Details

    • setBinding

      public void setBinding(groovy.lang.Binding binding)
      Overrides:
      setBinding in class groovy.lang.Script