Package org.apache.camel.language.jq
Class JqLanguage
java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.support.TypedLanguageSupport
org.apache.camel.support.SingleInputTypedLanguageSupport
org.apache.camel.language.jq.JqLanguage
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.spi.HasCamelContext,org.apache.camel.spi.Language,org.apache.camel.StaticService
@Language("jq")
public class JqLanguage
extends org.apache.camel.support.SingleInputTypedLanguageSupport
implements org.apache.camel.StaticService
-
Field Summary
Fields inherited from class org.apache.camel.support.LanguageSupport
RESOURCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.support.SingleInputTypedLanguageSupport
createExpression, createExpression, createPredicate, createPredicate, createPredicate, supportResultTypeMethods inherited from class org.apache.camel.support.LanguageSupport
getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.Service
build, close
-
Constructor Details
-
JqLanguage
public JqLanguage()
-
-
Method Details
-
init
public void init()- Specified by:
initin interfaceorg.apache.camel.Service
-
getRootScope
public net.thisptr.jackson.jq.Scope getRootScope() -
start
public void start()- Specified by:
startin interfaceorg.apache.camel.Service
-
stop
public void stop()- Specified by:
stopin interfaceorg.apache.camel.Service
-
createExpression
public org.apache.camel.Expression createExpression(org.apache.camel.Expression source, String expression, Object[] properties) - Overrides:
createExpressionin classorg.apache.camel.support.SingleInputTypedLanguageSupport
-