public class DeployHubAmpsCommand
extends com.marklogic.appdeployer.command.security.DeployAmpsCommand
Constructor and Description |
---|
DeployHubAmpsCommand() |
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, getResourceDirs
adjustPayloadBeforeDeletingResource, deleteResource, deployResourcesViaCma, findResourceDirs, findResourceDirs, isDeleteResourcesOnUndo, isRestartAfterDelete, listFilesInDirectory, processExecuteOnResourceDir, processUndoOnResourceDir, saveMergedResourcesViaCma, setCatchExceptionOnDeleteFailure, setDeleteResourcesOnUndo, setRestartAfterDelete, undo, useCmaForDeployingResources
getUndoSortOrder, setUndoSortOrder
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 boolean cmaShouldBeUsed(com.marklogic.appdeployer.command.CommandContext context)
cmaShouldBeUsed
in interface com.marklogic.appdeployer.command.SupportsCmaCommand
cmaShouldBeUsed
in class com.marklogic.appdeployer.command.security.DeployAmpsCommand
public void execute(com.marklogic.appdeployer.command.CommandContext context)
execute
in interface com.marklogic.appdeployer.command.Command
execute
in class com.marklogic.appdeployer.command.security.DeployAmpsCommand
context
- protected com.marklogic.mgmt.resource.ResourceManager getResourceManager(com.marklogic.appdeployer.command.CommandContext context)
getResourceManager
in class com.marklogic.appdeployer.command.security.DeployAmpsCommand