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 |
updateFlow(java.lang.String name,
java.lang.String description,
com.fasterxml.jackson.databind.node.ArrayNode stepIds)
Invokes the updateFlow 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 addStepToFlow(java.lang.String flowName, java.lang.String stepName, java.lang.String stepDefinitionType)
flowName
- provides inputstepName
- provides inputstepDefinitionType
- provides inputcom.fasterxml.jackson.databind.JsonNode createFlow(java.lang.String name, java.lang.String description)
name
- provides inputdescription
- provides inputvoid deleteFlow(java.lang.String name)
name
- provides inputcom.fasterxml.jackson.databind.JsonNode getFlow(java.lang.String name)
name
- provides inputcom.fasterxml.jackson.databind.JsonNode getFlowsWithStepDetails()
com.fasterxml.jackson.databind.JsonNode getFlowWithLatestJobInfo(java.lang.String name)
name
- provides inputcom.fasterxml.jackson.databind.JsonNode getFullFlow(java.lang.String flowName)
flowName
- provides inputcom.fasterxml.jackson.databind.JsonNode removeStepFromFlow(java.lang.String flowName, java.lang.String stepNumber)
flowName
- provides inputstepNumber
- provides inputcom.fasterxml.jackson.databind.JsonNode updateFlow(java.lang.String name, java.lang.String description, com.fasterxml.jackson.databind.node.ArrayNode stepIds)
name
- provides inputdescription
- The description of the flow can be updated.stepIds
- The order of stepIds can be updated.