|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.client.rest.JsonToBean
public class JsonToBean
JSON to bean converter for WorkflowAction
, WorkflowJob
, CoordinatorAction
and CoordinatorJob
.
Constructor Summary | |
---|---|
JsonToBean()
|
Method Summary | |
---|---|
static List<BulkResponse> |
createBulkResponseList(org.json.simple.JSONArray json)
Creates a list of bulk response beans from a JSON array. |
static BundleJob |
createBundleJob(org.json.simple.JSONObject json)
Creates a bundle job bean from a JSON object. |
static List<BundleJob> |
createBundleJobList(org.json.simple.JSONArray json)
Creates a list of bundle job beans from a JSON array. |
static CoordinatorAction |
createCoordinatorAction(org.json.simple.JSONObject json)
Creates a coordinator action bean from a JSON object. |
static List<CoordinatorAction> |
createCoordinatorActionList(org.json.simple.JSONArray json)
Creates a list of coordinator action beans from a JSON array. |
static CoordinatorJob |
createCoordinatorJob(org.json.simple.JSONObject json)
Creates a coordinator job bean from a JSON object. |
static List<CoordinatorJob> |
createCoordinatorJobList(org.json.simple.JSONArray json)
Creates a list of coordinator job beans from a JSON array. |
static WorkflowAction |
createWorkflowAction(org.json.simple.JSONObject json)
Creates a workflow action bean from a JSON object. |
static List<WorkflowAction> |
createWorkflowActionList(org.json.simple.JSONArray json)
Creates a list of workflow action beans from a JSON array. |
static WorkflowJob |
createWorkflowJob(org.json.simple.JSONObject json)
Creates a workflow job bean from a JSON object. |
static List<WorkflowJob> |
createWorkflowJobList(org.json.simple.JSONArray json)
Creates a list of workflow job beans from a JSON array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonToBean()
Method Detail |
---|
public static WorkflowAction createWorkflowAction(org.json.simple.JSONObject json)
json
- json object.
public static List<WorkflowAction> createWorkflowActionList(org.json.simple.JSONArray json)
json
- json array.
public static WorkflowJob createWorkflowJob(org.json.simple.JSONObject json)
json
- json object.
public static List<WorkflowJob> createWorkflowJobList(org.json.simple.JSONArray json)
json
- json array.
public static CoordinatorAction createCoordinatorAction(org.json.simple.JSONObject json)
json
- json object.
public static List<CoordinatorAction> createCoordinatorActionList(org.json.simple.JSONArray json)
json
- json array.
public static CoordinatorJob createCoordinatorJob(org.json.simple.JSONObject json)
json
- json object.
public static List<CoordinatorJob> createCoordinatorJobList(org.json.simple.JSONArray json)
json
- json array.
public static BundleJob createBundleJob(org.json.simple.JSONObject json)
json
- json object.
public static List<BundleJob> createBundleJobList(org.json.simple.JSONArray json)
json
- json array.
public static List<BulkResponse> createBulkResponseList(org.json.simple.JSONArray json)
json
- json array.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |