Class HeisenbergScopes
java.lang.Object
org.mule.test.heisenberg.extension.HeisenbergScopes
- All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Initialisable
public class HeisenbergScopes
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 TypeMethodDescriptionvoidalwaysFailsWrapper(org.mule.runtime.extension.api.runtime.route.Chain processors, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void, Void> callback) voidexceptionOnCallbacks(org.mule.runtime.extension.api.runtime.route.Chain processors, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void, Void> callback) voidexecuteAnything(org.mule.runtime.extension.api.runtime.route.Chain chain, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void, Void> cb) voidgetChain(org.mule.runtime.extension.api.runtime.route.Chain chain, org.mule.runtime.extension.api.runtime.process.CompletionCallback<org.mule.runtime.extension.api.runtime.route.Chain, Void> cb) intvoidvoidneverFailsWrapper(org.mule.runtime.extension.api.runtime.route.Chain optionalProcessors, org.mule.runtime.extension.api.runtime.process.CompletionCallback<String, Object> callback) voidpayloadModifier(org.mule.runtime.extension.api.runtime.route.Chain chain, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object, Object> cb, Object payload, Map<String, String> attributes) intscopeField(int expected, int newValue)
-
Constructor Details
-
HeisenbergScopes
public HeisenbergScopes()
-
-
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
-
getCounter
public int getCounter() -
getChain
public void getChain(@AllowedStereotypes(org.mule.runtime.extension.api.stereotype.ValidatorStereotype.class) org.mule.runtime.extension.api.runtime.route.Chain chain, org.mule.runtime.extension.api.runtime.process.CompletionCallback<org.mule.runtime.extension.api.runtime.route.Chain, Void> cb) -
executeAnything
-
payloadModifier
@MediaType(value="text/plain", strict=false) public void payloadModifier(org.mule.runtime.extension.api.runtime.route.Chain chain, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object, Object> cb, Object payload, @ParameterDsl(allowInlineDefinition=false) Map<String, String> attributes) -
exceptionOnCallbacks
-
alwaysFailsWrapper
-
neverFailsWrapper
-
scopeField
public int scopeField(int expected, int newValue)
-