public class DeployHubAmpsCommand
extends com.marklogic.appdeployer.command.security.DeployAmpsCommand
| Constructor and Description |
|---|
DeployHubAmpsCommand()
DeployHubAmpsCommand should run before we run LoadHubModulesCommand as we require the amp for getting the default
rewriter to be present so that it can be used to generate the custom rewriter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
cmaShouldBeUsed(com.marklogic.appdeployer.command.CommandContext context) |
void |
execute(com.marklogic.appdeployer.command.CommandContext context)
The parent class's execute method eagerly grabs amps for performance reasons.
|
protected com.marklogic.mgmt.resource.ResourceManager |
getResourceManager(com.marklogic.appdeployer.command.CommandContext context) |
addResourceToConfiguration, ampIsUnchanged, getResourceDirsadjustPayloadBeforeDeletingResource, deleteResource, deployResourcesViaCma, findResourceDirs, findResourceDirs, isDeleteResourcesOnUndo, isRestartAfterDelete, listFilesInDirectory, processExecuteOnResourceDir, processUndoOnResourceDir, saveMergedResourcesViaCma, setCatchExceptionOnDeleteFailure, setDeleteResourcesOnUndo, setRestartAfterDelete, undo, useCmaForDeployingResourcesgetUndoSortOrder, setUndoSortOrderadjustPayloadBeforeSavingResource, 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, storeTokenForResourceIdpublic DeployHubAmpsCommand()
public boolean cmaShouldBeUsed(com.marklogic.appdeployer.command.CommandContext context)
cmaShouldBeUsed in interface com.marklogic.appdeployer.command.SupportsCmaCommandcmaShouldBeUsed in class com.marklogic.appdeployer.command.security.DeployAmpsCommandpublic void execute(com.marklogic.appdeployer.command.CommandContext context)
execute in interface com.marklogic.appdeployer.command.Commandexecute in class com.marklogic.appdeployer.command.security.DeployAmpsCommandcontext - protected com.marklogic.mgmt.resource.ResourceManager getResourceManager(com.marklogic.appdeployer.command.CommandContext context)
getResourceManager in class com.marklogic.appdeployer.command.security.DeployAmpsCommand