public class CoordinatorWfActionBean extends Object implements CoordinatorWfAction, JsonBean
CoordinatorWfAction.NullReason
Constructor and Description |
---|
CoordinatorWfActionBean(int actionNumber) |
CoordinatorWfActionBean(int actionNumber,
WorkflowActionBean action,
String nullReason) |
Modifier and Type | Method and Description |
---|---|
WorkflowActionBean |
getAction() |
int |
getActionNumber() |
String |
getNullReason() |
void |
setAction(WorkflowActionBean action) |
void |
setActionNumber(int actionNumber) |
void |
setNullReason(String nullReason) |
org.json.simple.JSONObject |
toJSONObject()
Return the JSONObject for the bean with GMT time zone.
|
org.json.simple.JSONObject |
toJSONObject(String timeZoneId)
Return the JSONObject for the bean with the given time zone.
|
public CoordinatorWfActionBean(int actionNumber)
public CoordinatorWfActionBean(int actionNumber, WorkflowActionBean action, String nullReason)
public int getActionNumber()
getActionNumber
in interface CoordinatorWfAction
public WorkflowActionBean getAction()
getAction
in interface CoordinatorWfAction
public String getNullReason()
getNullReason
in interface CoordinatorWfAction
public void setActionNumber(int actionNumber)
public void setAction(WorkflowActionBean action)
public void setNullReason(String nullReason)
public org.json.simple.JSONObject toJSONObject()
JsonBean
toJSONObject
in interface JsonBean
public org.json.simple.JSONObject toJSONObject(String timeZoneId)
JsonBean
toJSONObject
in interface JsonBean
timeZoneId
- the time zone to useCopyright © 2018 Apache Software Foundation. All rights reserved.