@Component
public class LoadHubArtifactsCommand
extends com.marklogic.appdeployer.command.AbstractCommand
Modifier and Type | Field and Description |
---|---|
static int |
SORT_ORDER
Hub artifacts are deployed after triggers for no particular reason yet other than that user artifacts must be
deployed after both triggers (because of entity models) and after hub artifacts.
|
Constructor and Description |
---|
LoadHubArtifactsCommand() |
LoadHubArtifactsCommand(HubConfig hubConfig)
For use outside of a Spring container.
|
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 |
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 static int SORT_ORDER
public LoadHubArtifactsCommand()
public LoadHubArtifactsCommand(HubConfig hubConfig)
hubConfig
- 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)