public interface StepService
Modifier and Type | Method and Description |
---|---|
void |
deleteStep(java.lang.String stepDefinitionType,
java.lang.String stepName)
Invokes the deleteStep operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getStep(java.lang.String stepDefinitionType,
java.lang.String stepName)
Invokes the getStep operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getStepsByType(java.util.stream.Stream<java.lang.String> propertiesToReturn)
Invokes the getStepsByType operation on the database server
|
static StepService |
on(com.marklogic.client.DatabaseClient db)
Creates a StepService object for executing operations on the database server.
|
static StepService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a StepService object for executing operations on the database server.
|
com.fasterxml.jackson.databind.JsonNode |
saveStep(java.lang.String stepDefinitionType,
com.fasterxml.jackson.databind.JsonNode stepProperties,
java.lang.Boolean overwrite,
java.lang.Boolean throwErrorIfStepIsPresent)
Invokes the saveStep operation on the database server
|
static StepService on(com.marklogic.client.DatabaseClient db)
db
- provides a client for communicating with the database serverstatic StepService 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 getStepsByType(java.util.stream.Stream<java.lang.String> propertiesToReturn)
propertiesToReturn
- List of properties to return. Default behavior returns all propertiescom.fasterxml.jackson.databind.JsonNode saveStep(java.lang.String stepDefinitionType, com.fasterxml.jackson.databind.JsonNode stepProperties, java.lang.Boolean overwrite, java.lang.Boolean throwErrorIfStepIsPresent)
stepDefinitionType
- provides inputstepProperties
- provides inputoverwrite
- provides inputthrowErrorIfStepIsPresent
- provides inputvoid deleteStep(java.lang.String stepDefinitionType, java.lang.String stepName)
stepDefinitionType
- provides inputstepName
- provides inputcom.fasterxml.jackson.databind.JsonNode getStep(java.lang.String stepDefinitionType, java.lang.String stepName)
stepDefinitionType
- provides inputstepName
- provides input