public class ScriptFilter
extends org.mule.runtime.core.processor.AbstractFilteringMessageProcessor
implements org.mule.runtime.core.api.routing.filter.Filter, org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
onUnacceptedFlowConstruct, throwOnUnaccepted, unacceptedMessageProcessor| Constructor and Description |
|---|
ScriptFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.mule.runtime.core.api.Event event,
org.mule.runtime.core.api.Event.Builder builder) |
boolean |
accept(org.mule.runtime.api.message.Message message,
org.mule.runtime.core.api.Event.Builder builder) |
void |
dispose() |
String |
getName() |
Scriptable |
getScript() |
void |
initialise() |
void |
setName(String name) |
void |
setScript(Scriptable script) |
apply, filterFailureException, filterUnacceptedException, getUnacceptedMessageProcessor, handleUnaccepted, isThrowOnUnaccepted, process, setThrowOnUnaccepted, setUnacceptedMessageProcessorapplyNext, getListener, getMuleContext, isEventValid, processNext, setFlowConstruct, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic boolean accept(org.mule.runtime.core.api.Event event,
org.mule.runtime.core.api.Event.Builder builder)
accept in interface org.mule.runtime.core.api.routing.filter.Filteraccept in class org.mule.runtime.core.processor.AbstractFilteringMessageProcessorpublic boolean accept(org.mule.runtime.api.message.Message message,
org.mule.runtime.core.api.Event.Builder builder)
accept in interface org.mule.runtime.core.api.routing.filter.Filterpublic Scriptable getScript()
public void setScript(Scriptable script)
public String getName()
public void setName(String name)
Copyright © 2017. All rights reserved.