public interface FlowService
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
addStepToFlow(java.lang.String flowName,
java.lang.String stepName,
java.lang.String stepDefinitionType)
Invokes the addStepToFlow operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
createFlow(java.lang.String name,
java.lang.String description)
Invokes the createFlow operation on the database server
|
void |
deleteFlow(java.lang.String name)
Invokes the deleteFlow operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getFlow(java.lang.String name)
Invokes the getFlow operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getFlowsWithStepDetails()
Invokes the getFlowsWithStepDetails operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getFlowWithLatestJobInfo(java.lang.String name)
Invokes the getFlowWithLatestJobInfo operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getFullFlow(java.lang.String flowName)
Invokes the getFullFlow operation on the database server
|
static FlowService |
on(com.marklogic.client.DatabaseClient db)
Creates a FlowService object for executing operations on the database server.
|
static FlowService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a FlowService object for executing operations on the database server.
|
com.fasterxml.jackson.databind.JsonNode |
removeStepFromFlow(java.lang.String flowName,
java.lang.String stepNumber)
Invokes the removeStepFromFlow operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
updateFlowInfo(java.lang.String name,
java.lang.String description)
Invokes the updateFlowInfo operation on the database server
|
static FlowService on(com.marklogic.client.DatabaseClient db)
db
- provides a client for communicating with the database serverstatic FlowService on(com.marklogic.client.DatabaseClient db, com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
db
- provides a client for communicating with the database serverserviceDeclaration
- substitutes a custom implementation of the servicecom.fasterxml.jackson.databind.JsonNode getFlow(java.lang.String name)
name
- provides inputvoid deleteFlow(java.lang.String name)
name
- provides inputcom.fasterxml.jackson.databind.JsonNode addStepToFlow(java.lang.String flowName, java.lang.String stepName, java.lang.String stepDefinitionType)
flowName
- provides inputstepName
- provides inputstepDefinitionType
- provides inputcom.fasterxml.jackson.databind.JsonNode getFlowsWithStepDetails()
com.fasterxml.jackson.databind.JsonNode getFlowWithLatestJobInfo(java.lang.String name)
name
- provides inputcom.fasterxml.jackson.databind.JsonNode removeStepFromFlow(java.lang.String flowName, java.lang.String stepNumber)
flowName
- provides inputstepNumber
- provides inputcom.fasterxml.jackson.databind.JsonNode updateFlowInfo(java.lang.String name, java.lang.String description)
name
- provides inputdescription
- provides inputcom.fasterxml.jackson.databind.JsonNode createFlow(java.lang.String name, java.lang.String description)
name
- provides inputdescription
- provides inputcom.fasterxml.jackson.databind.JsonNode getFullFlow(java.lang.String flowName)
flowName
- provides input