swarm.activity
Interface ActionArgs
- All Known Subinterfaces:
- ActionCall, ActionForEach, ActionTo
- All Known Implementing Classes:
- ActionToImpl, ActionCallImpl
- public abstract interface ActionArgs
- extends ActionS, Action
Supertype of ActionCall, ActionTo, and ActionForEach..
The ActionArgs subtypes all implement a specific, hard-coded method for binding an action type to a fixed number of arguments. All the arguments must have types compatible with id type. Eventually, more generic methods for binding an action type to any number and types of arguments and return values will also be provided.
getNArgs
public int getNArgs()
setArg1
public void setArg1(Object arg1)
getArg1
public Object getArg1()
setArg2
public void setArg2(Object arg2)
getArg2
public Object getArg2()
setArg3
public void setArg3(Object arg3)
getArg3
public Object getArg3()