public interface ArtifactService
Modifier and Type | Method and Description |
---|---|
void |
clearUserArtifacts()
Invokes the clearUserArtifacts operation on the database server
|
com.fasterxml.jackson.databind.JsonNode |
getArtifactsWithProjectPaths()
Returns a JSON array with an entry for each project artifact and its file path within a project
|
com.fasterxml.jackson.databind.JsonNode |
getList(java.lang.String artifactType)
Invokes the getList operation on the database server
|
static ArtifactService |
on(com.marklogic.client.DatabaseClient db)
Creates a ArtifactService object for executing operations on the database server.
|
static ArtifactService |
on(com.marklogic.client.DatabaseClient db,
com.marklogic.client.io.marker.JSONWriteHandle serviceDeclaration)
Creates a ArtifactService object for executing operations on the database server.
|
com.fasterxml.jackson.databind.JsonNode |
setArtifact(java.lang.String artifactType,
java.lang.String artifactName,
com.fasterxml.jackson.databind.JsonNode artifact,
java.lang.String dirFileName)
Invokes the setArtifact operation on the database server
|
static ArtifactService on(com.marklogic.client.DatabaseClient db)
db
- provides a client for communicating with the database serverstatic ArtifactService 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 getArtifactsWithProjectPaths()
com.fasterxml.jackson.databind.JsonNode setArtifact(java.lang.String artifactType, java.lang.String artifactName, com.fasterxml.jackson.databind.JsonNode artifact, java.lang.String dirFileName)
artifactType
- provides inputartifactName
- provides inputartifact
- provides inputdirFileName
- provides inputvoid clearUserArtifacts()
com.fasterxml.jackson.databind.JsonNode getList(java.lang.String artifactType)
artifactType
- provides input