org.mule.example.scripting
Class AccumulatorComponent
java.lang.Object
org.mule.example.scripting.AccumulatorComponent
- All Implemented Interfaces:
- org.mule.api.lifecycle.Callable, org.mule.api.lifecycle.EventListener
public class AccumulatorComponent
- extends Object
- implements org.mule.api.lifecycle.Callable
Component which accumulates successive numbers, by adding/subtracting/multiplying/dividing.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccumulatorComponent
public AccumulatorComponent()
onCall
public Object onCall(org.mule.api.MuleEventContext context)
throws Exception
- Specified by:
onCall in interface org.mule.api.lifecycle.Callable
- Throws:
Exception
getOperation
public String getOperation()
setOperation
public void setOperation(String operation)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.