@Component
public class LoadHubArtifactsCommand
extends com.marklogic.appdeployer.command.AbstractCommand
Constructor and Description |
---|
LoadHubArtifactsCommand() |
LoadHubArtifactsCommand(HubConfig hubConfig)
For use outside of a Spring container.
|
LoadHubArtifactsCommand(HubConfig hubConfig,
boolean forceLoad) |
Modifier and Type | Method and Description |
---|---|
protected com.marklogic.client.io.DocumentMetadataHandle |
buildMetadata(java.lang.String permissions,
java.lang.String collection)
As of 5.2.0, artifact permissions are separate from module permissions.
|
void |
execute(com.marklogic.appdeployer.command.CommandContext context) |
void |
setForceLoad(boolean forceLoad) |
void |
setHubConfig(HubConfig hubConfig) |
adjustPayloadBeforeSavingResource, adjustResourceManagerForPayload, afterResourceSaved, cmaEndpointExists, convertPayloadToObjectNode, convertXmlPayloadToJsonIfNecessary, copyFileToString, copyFileToString, deployConfiguration, determineDatabaseNameForDatabaseResourceDirectory, getBiPredicateForMergingResources, getContextKeyForResourcesToSave, getExecuteSortOrder, getResourceClassType, getResourceFilenameFilter, getResourceIdPropertyName, isStoreResourceIdsAsCustomTokens, isSupportsResourceMerging, listFilesInDirectory, logResourceDirectoryNotFound, mergeResources, readResourceFromFile, resourceMergingIsSupported, saveMergedResources, saveResource, saveResource, setExecuteSortOrder, setFilenamesToIgnore, setIncrementalMode, setPayloadTokenReplacer, setResourceClassType, setResourceFilenameFilter, setResourceFilenamesExcludePattern, setResourceFilenamesIncludePattern, setResourceIdPropertyName, setStoreResourceIdsAsCustomTokens, setSupportsResourceMerging, storeResourceInCommandContextMap, storeTokenForResourceId
public LoadHubArtifactsCommand()
public LoadHubArtifactsCommand(HubConfig hubConfig)
hubConfig
- public LoadHubArtifactsCommand(HubConfig hubConfig, boolean forceLoad)
public void setForceLoad(boolean forceLoad)
public void execute(com.marklogic.appdeployer.command.CommandContext context)
protected com.marklogic.client.io.DocumentMetadataHandle buildMetadata(java.lang.String permissions, java.lang.String collection)
permissions
- collection
- public void setHubConfig(HubConfig hubConfig)