public class DeployHubOtherServersCommand
extends com.marklogic.appdeployer.command.appservers.DeployOtherServersCommand
Constructor and Description |
---|
DeployHubOtherServersCommand(HubConfig hubConfig) |
Modifier and Type | Method and Description |
---|---|
protected void |
addServerVersionToCustomTokens(com.marklogic.appdeployer.command.CommandContext context) |
protected void |
deleteResource(com.marklogic.mgmt.resource.ResourceManager mgr,
com.marklogic.appdeployer.command.CommandContext context,
java.io.File f) |
void |
execute(com.marklogic.appdeployer.command.CommandContext context) |
void |
setServerVersion(java.lang.String serverVersion) |
addResourceToConfiguration, adjustPayloadBeforeDeletingResource, adjustResourceManagerForPayload, cmaShouldBeUsed, getBiPredicateForMergingResources, getDefaultServersToNotUndeploy, getResourceDirs, getResourceManager, initializeDefaultServersToNotUndeploy, setDefaultServersToNotUndeploy, shouldUndeployServer
deployResourcesViaCma, findResourceDirs, findResourceDirs, isDeleteResourcesOnUndo, isRestartAfterDelete, listFilesInDirectory, processExecuteOnResourceDir, processUndoOnResourceDir, saveMergedResourcesViaCma, setCatchExceptionOnDeleteFailure, setDeleteResourcesOnUndo, setRestartAfterDelete, undo, useCmaForDeployingResources
getUndoSortOrder, setUndoSortOrder
adjustPayloadBeforeSavingResource, afterResourceSaved, cmaEndpointExists, convertPayloadToObjectNode, convertXmlPayloadToJsonIfNecessary, copyFileToString, copyFileToString, deployConfiguration, determineDatabaseNameForDatabaseResourceDirectory, 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 DeployHubOtherServersCommand(HubConfig hubConfig)
hubConfig
- required so that a connection can be made to ML, regardless of whether DHF has been installed yet
or notpublic void execute(com.marklogic.appdeployer.command.CommandContext context)
execute
in interface com.marklogic.appdeployer.command.Command
execute
in class com.marklogic.appdeployer.command.AbstractResourceCommand
protected void addServerVersionToCustomTokens(com.marklogic.appdeployer.command.CommandContext context)
protected void deleteResource(com.marklogic.mgmt.resource.ResourceManager mgr, com.marklogic.appdeployer.command.CommandContext context, java.io.File f)
deleteResource
in class com.marklogic.appdeployer.command.AbstractResourceCommand
public void setServerVersion(java.lang.String serverVersion)