Package migration.rest
Class APICommunication
- java.lang.Object
-
- migration.rest.APICommunication
-
public class APICommunication extends Object
-
-
Constructor Summary
Constructors Constructor Description APICommunication(PrettyStatistics counting, Properties config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.codehaus.jettison.json.JSONObject>getAlgorithmsFromJob(org.codehaus.jettison.json.JSONObject jobJSONObj)org.codehaus.jettison.json.JSONArraygetJobsFromProject(String projectId)org.codehaus.jettison.json.JSONArraygetNodes(org.codehaus.jettison.json.JSONObject jobJSONObj)org.codehaus.jettison.json.JSONArraygetProjects()org.codehaus.jettison.json.JSONObjectreadFlowRaw(org.codehaus.jettison.json.JSONObject jobJSONObj)
-
-
-
Constructor Detail
-
APICommunication
public APICommunication(PrettyStatistics counting, Properties config)
-
-
Method Detail
-
getProjects
public org.codehaus.jettison.json.JSONArray getProjects()
-
getJobsFromProject
public org.codehaus.jettison.json.JSONArray getJobsFromProject(String projectId)
-
getAlgorithmsFromJob
public List<org.codehaus.jettison.json.JSONObject> getAlgorithmsFromJob(org.codehaus.jettison.json.JSONObject jobJSONObj) throws org.codehaus.jettison.json.JSONException
- Throws:
org.codehaus.jettison.json.JSONException
-
getNodes
public org.codehaus.jettison.json.JSONArray getNodes(org.codehaus.jettison.json.JSONObject jobJSONObj) throws org.codehaus.jettison.json.JSONException- Throws:
org.codehaus.jettison.json.JSONException
-
readFlowRaw
public org.codehaus.jettison.json.JSONObject readFlowRaw(org.codehaus.jettison.json.JSONObject jobJSONObj) throws org.codehaus.jettison.json.JSONException- Throws:
org.codehaus.jettison.json.JSONException
-
-