public class DeployHubDatabaseCommand
extends com.marklogic.appdeployer.command.databases.DeployDatabaseCommand
Constructor and Description |
---|
DeployHubDatabaseCommand(HubConfig hubConfig,
java.io.File databaseFile,
java.lang.String databaseFilename)
In order for sorting to work correctly via DeployDatabaseCommandComparator, must call setDatabaseFile so that
the parent getPayload method is able to find the correct File to read from.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(com.marklogic.appdeployer.command.CommandContext context) |
protected java.lang.String |
getPayload(com.marklogic.appdeployer.command.CommandContext context) |
buildDefaultDatabasePayload, buildDeployForestsCommand, buildPayload, buildPayloadForSaving, customForestsExist, deploySubDatabases, getDatabaseFilename, getDatabaseName, getDatabasesToNotUndeploy, getDeployForestsCommand, getForestDeleteLevel, getForestFilename, getForestsPerHost, getSuperDatabaseName, getUndoSortOrder, isCheckForCustomForests, isCreateDatabaseWithoutFile, isCreateForestsOnEachHost, isPostponeForestCreation, isSubDatabase, newDatabaseManageForDeleting, setCheckForCustomForests, setCreateDatabaseWithoutFile, setCreateForestsOnEachHost, setDatabaseFile, setDatabaseFilename, setDatabaseName, setDatabasesToNotUndeploy, setDeployDatabaseCommandFactory, setForestFilename, setForestsPerHost, setPayload, setPostponeForestCreation, setSubDatabase, setSuperDatabaseName, setUndoSortOrder, shouldCreateForests, toString, undo
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 DeployHubDatabaseCommand(HubConfig hubConfig, java.io.File databaseFile, java.lang.String databaseFilename)
hubConfig
- a hubConfig objectdatabaseFile
- database file objectdatabaseFilename
- name of the database filepublic void execute(com.marklogic.appdeployer.command.CommandContext context)
execute
in interface com.marklogic.appdeployer.command.Command
execute
in class com.marklogic.appdeployer.command.databases.DeployDatabaseCommand
protected java.lang.String getPayload(com.marklogic.appdeployer.command.CommandContext context)
getPayload
in class com.marklogic.appdeployer.command.databases.DeployDatabaseCommand