|
Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
A datatype for storing a ServiceJob for the PolymarkerService with its extra associated fields. More...
#include <polymarker_service_job.h>
Public Member Functions | |
| void | FreePolymarkerServiceJob (ServiceJob *job_p) |
| Free the PolymarkerServiceJob. More... | |
| bool | UpdatePolymarkerServiceJob (ServiceJob *job_p) |
| Update the running status of PolymarkerServiceJob if needed. More... | |
| ServiceJob * | GetPolymarkerServiceJobFromJSON (struct Service *service_p, const json_t *service_job_json_p) |
| Create a PolymarkerServiceJob from a JSON-based serialisation. More... | |
| json_t * | ConvertPolymarkerServiceJobToJSON (Service *service_p, ServiceJob *service_job_p, bool omit_results_flag) |
| Get the JSON representation of a PolymarkerServiceJob. More... | |
Data Fields | |
| ServiceJob | psj_base_job |
| The base ServiceJob. More... | |
| PolymarkerTool * | psj_tool_p |
| The PolymarkerTool used for this PolymarkerServiceJob. More... | |
A datatype for storing a ServiceJob for the PolymarkerService with its extra associated fields.
| void FreePolymarkerServiceJob | ( | ServiceJob * | job_p | ) |
Free the PolymarkerServiceJob.
| job_p | The PolymarkerServiceJob to free. |
| bool UpdatePolymarkerServiceJob | ( | ServiceJob * | job_p | ) |
Update the running status of PolymarkerServiceJob if needed.
| job_p | The PolymarkerServiceJob to check. |
true if the PolymarkerServiceJob was updated successfully, false otherwise. | ServiceJob * GetPolymarkerServiceJobFromJSON | ( | struct Service * | service_p, |
| const json_t * | service_job_json_p | ||
| ) |
Create a PolymarkerServiceJob from a JSON-based serialisation.
| service_p | The type of Blast Service that previously created the BlastServiceJob. |
| service_job_json_p | The JSON fragment representing the PolymarkerServiceJob. |
NULL upon error. | json_t * ConvertPolymarkerServiceJobToJSON | ( | Service * | service_p, |
| ServiceJob * | service_job_p, | ||
| bool | omit_results_flag | ||
| ) |
Get the JSON representation of a PolymarkerServiceJob.
| service_p | The Service that ran the PolymarkerServiceJob. |
| service_job_p | The PolymarkerServiceJob to serialise. |
NULL upon error. | ServiceJob psj_base_job |
The base ServiceJob.
| PolymarkerTool* psj_tool_p |
The PolymarkerTool used for this PolymarkerServiceJob.