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, findExistingAmpResources, 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, getPayloadParser, 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 DeployHubAmpsCommand()
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