-
- All Implemented Interfaces:
-
com.batch.android.UserActionRunnable
public class GroupActionRunnable implements UserActionRunnable
Action that runs an array of actions
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringIDENTIFIER
-
Constructor Summary
Constructors Constructor Description GroupActionRunnable(ActionModule actionModule)
-
Method Summary
Modifier and Type Method Description voidperformAction(@Nullable() Context context, @NonNull() String identifier, @NonNull() JSONObject args, @Nullable() UserActionSource source)Perform the requested action defined by the given parameters. -
-
Constructor Detail
-
GroupActionRunnable
GroupActionRunnable(ActionModule actionModule)
-
-
Method Detail
-
performAction
void performAction(@Nullable() Context context, @NonNull() String identifier, @NonNull() JSONObject args, @Nullable() UserActionSource source)
Perform the requested action defined by the given parameters.Note: This can be run from any thread. Do not make assumptions about the thread you're currently on.
- Parameters:
context- The current context, if applicable.identifier- The action identifier.args- Action arguments.source- The action source.
-
-
-
-