public class CustomActivityRequest extends BaseRequest
Constructor and Description |
---|
CustomActivityRequest(java.lang.String action)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Get the field value
|
java.lang.String |
getPayload()
Get the field value
|
boolean |
isNonBlocking()
Get the field value
|
void |
setNonBlocking(boolean nonBlocking)
Set the field value
|
void |
setPayload(java.lang.String payload)
Set the field value
|
public CustomActivityRequest(java.lang.String action)
action
- The name of the action for this activitypublic java.lang.String getAction()
public java.lang.String getPayload()
public void setPayload(java.lang.String payload)
payload
- Data for this activitypublic boolean isNonBlocking()
public void setNonBlocking(boolean nonBlocking)
nonBlocking
- If true, then the activity can be stopped in regular execution