public class JobDocManager
extends com.marklogic.client.extensions.ResourceManager
Constructor and Description |
---|
JobDocManager(com.marklogic.client.DatabaseClient client) |
Modifier and Type | Method and Description |
---|---|
void |
createJob(java.lang.String jobId,
java.lang.String flow) |
com.fasterxml.jackson.databind.JsonNode |
getJobDocs(JobStatus status) |
com.fasterxml.jackson.databind.JsonNode |
getJobDocument(java.lang.String jobId) |
com.fasterxml.jackson.databind.JsonNode |
getJobDocument(java.lang.String jobId,
java.lang.String flowName) |
com.fasterxml.jackson.databind.JsonNode |
getJobDocumentsForFlow(java.lang.String flowName) |
com.fasterxml.jackson.databind.JsonNode |
getJobDocumentsForFlows(java.util.List<java.lang.String> flowNames) |
com.fasterxml.jackson.databind.JsonNode |
postJobs(java.lang.String jobId,
java.lang.String status,
java.lang.String step,
java.lang.String lastCompleted,
RunStepResponse stepResponse) |
void |
updateJobStatus(java.lang.String jobId,
JobStatus status) |
public void updateJobStatus(java.lang.String jobId, JobStatus status)
public com.fasterxml.jackson.databind.JsonNode postJobs(java.lang.String jobId, java.lang.String status, java.lang.String step, java.lang.String lastCompleted, RunStepResponse stepResponse)
public void createJob(java.lang.String jobId, java.lang.String flow)
public com.fasterxml.jackson.databind.JsonNode getJobDocument(java.lang.String jobId)
public com.fasterxml.jackson.databind.JsonNode getJobDocument(java.lang.String jobId, java.lang.String flowName)
public com.fasterxml.jackson.databind.JsonNode getJobDocs(JobStatus status)
public com.fasterxml.jackson.databind.JsonNode getJobDocumentsForFlow(java.lang.String flowName)
public com.fasterxml.jackson.databind.JsonNode getJobDocumentsForFlows(java.util.List<java.lang.String> flowNames)