public class HubCentralManager
extends com.marklogic.client.ext.helper.LoggingObject
Constructor and Description |
---|
HubCentralManager() |
Modifier and Type | Method and Description |
---|---|
void |
applyHubCentralZipToProject(HubProject hubProject,
java.io.File zipFile) |
protected com.fasterxml.jackson.databind.ObjectWriter |
buildPrettyWriter() |
protected void |
deleteEntityBasedArtifacts(HubProject hubProject) |
void |
deleteHubCentralConfig(com.marklogic.hub.HubClient hubClient) |
protected void |
deleteUserArtifacts(HubProject hubProject) |
void |
deployHubCentralConfig(com.marklogic.hub.HubClient hubClient,
com.fasterxml.jackson.databind.JsonNode config,
java.lang.String docUri) |
protected void |
extractZipToProject(HubProject hubProject,
java.io.File zipFile) |
void |
writeHubCentralFilesAsZip(com.marklogic.hub.HubClient hubClient,
java.io.OutputStream outputStream) |
void |
writeProjectFilesAsZip(com.marklogic.hub.HubClient hubClient,
java.io.OutputStream outputStream) |
public void writeHubCentralFilesAsZip(com.marklogic.hub.HubClient hubClient, java.io.OutputStream outputStream)
public void writeProjectFilesAsZip(com.marklogic.hub.HubClient hubClient, java.io.OutputStream outputStream)
public void deployHubCentralConfig(com.marklogic.hub.HubClient hubClient, com.fasterxml.jackson.databind.JsonNode config, java.lang.String docUri)
public void deleteHubCentralConfig(com.marklogic.hub.HubClient hubClient)
public void applyHubCentralZipToProject(HubProject hubProject, java.io.File zipFile)
hubProject
- zipFile
- protected void deleteUserArtifacts(HubProject hubProject)
hubProject
- protected void deleteEntityBasedArtifacts(HubProject hubProject)
hubProject
- protected void extractZipToProject(HubProject hubProject, java.io.File zipFile)
hubProject
- zipFile
- protected com.fasterxml.jackson.databind.ObjectWriter buildPrettyWriter()