Package org.mule.test.function.extension
Class GlobalWeaveFunction
java.lang.Object
org.mule.test.function.extension.GlobalWeaveFunction
- All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Initialisable
public class GlobalWeaveFunction
extends Object
implements org.mule.runtime.api.lifecycle.Initialisable
-
Field Summary
Fields inherited from interface org.mule.runtime.api.lifecycle.Initialisable
PHASE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliasedFunction(List<Object> listToSplit, int groupSize) customEcho(String echo) defaultPrimitives(boolean bool, int number, double doubles, float floats, long longs, short shorts) echoWithDefault(Object payload, String prefix) voidtoMap(SimplePojo pojo) org.mule.runtime.api.metadata.TypedValue<InputStream>typedInputStream(org.mule.runtime.api.metadata.TypedValue<InputStream> stream) withTypedValues(org.mule.runtime.api.metadata.TypedValue<Object> object, org.mule.runtime.api.metadata.TypedValue<String> string, org.mule.runtime.api.metadata.TypedValue<InputStream> stream, org.mule.runtime.api.metadata.TypedValue<org.mule.test.heisenberg.extension.model.KnockeableDoor> door) xpath(String expression, InputStream item, String returnType)
-
Constructor Details
-
GlobalWeaveFunction
public GlobalWeaveFunction()
-
-
Method Details
-
initialise
public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException- Specified by:
initialisein interfaceorg.mule.runtime.api.lifecycle.Initialisable- Throws:
org.mule.runtime.api.lifecycle.InitialisationException
-
customEcho
-
typedInputStream
public org.mule.runtime.api.metadata.TypedValue<InputStream> typedInputStream(@Optional org.mule.runtime.api.metadata.TypedValue<InputStream> stream) -
withTypedValues
public List<Object> withTypedValues(@Alias("notObject") @Optional org.mule.runtime.api.metadata.TypedValue<Object> object, @Optional org.mule.runtime.api.metadata.TypedValue<String> string, @Optional org.mule.runtime.api.metadata.TypedValue<InputStream> stream, @Optional org.mule.runtime.api.metadata.TypedValue<org.mule.test.heisenberg.extension.model.KnockeableDoor> door) -
defaultPrimitives
public String defaultPrimitives(@Optional boolean bool, @Optional int number, @Optional double doubles, @Optional float floats, @Optional long longs, @Optional short shorts) -
echoWithDefault
-
toMap
-
xpath
@Deprecated(message="The case of use of this function is covered within the echoWithDefault function", since="2.2.0", toRemoveIn="3.0.0") public Object xpath(String expression, @Optional(defaultValue="#[payload]") InputStream item, @Optional String returnType) -
aliasedFunction
-