public class GlobalWeaveFunction extends Object implements org.mule.runtime.api.lifecycle.Initialisable
| Constructor and Description |
|---|
GlobalWeaveFunction() |
| Modifier and Type | Method and Description |
|---|---|
List<List<Object>> |
aliasedFunction(List<Object> listToSplit,
int groupSize) |
String |
customEcho(String echo) |
String |
defaultPrimitives(boolean bool,
int number,
double doubles,
float floats,
long longs,
short shorts) |
Object |
echoWithDefault(Object payload,
String prefix) |
void |
initialise() |
Map<String,String> |
toMap(SimplePojo pojo) |
org.mule.runtime.api.metadata.TypedValue<InputStream> |
typedInputStream(org.mule.runtime.api.metadata.TypedValue<InputStream> stream) |
List<Object> |
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) |
Object |
xpath(String expression,
InputStream item,
String returnType) |
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic org.mule.runtime.api.metadata.TypedValue<InputStream> typedInputStream(@Optional org.mule.runtime.api.metadata.TypedValue<InputStream> stream)
public List<Object> withTypedValues(@Alias(value="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)
public String defaultPrimitives(@Optional boolean bool, @Optional int number, @Optional double doubles, @Optional float floats, @Optional long longs, @Optional short shorts)
public Object echoWithDefault(@Optional(defaultValue="#[payload]") Object payload, @Optional(defaultValue="prefix_") String prefix)
public Map<String,String> toMap(SimplePojo pojo)
@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)
Copyright © 2023 MuleSoft, Inc.. All rights reserved.