public abstract class AbstractUpgradeServerAction extends AbstractServerAction
| Modifier and Type | Field and Description |
|---|---|
protected AgentConfigsHolder |
agentConfigsHolder
Used for updating push data to the agents.
|
protected AmbariManagementController |
m_amc
Who knows what this is used for or why it even exists.
|
protected Clusters |
m_clusters |
protected ConfigHelper |
m_configHelper
Used for manipulting configurations, such as removing entire types and
creating new ones.
|
protected com.google.inject.Provider<AmbariMetaInfo> |
m_metainfoProvider
Used for getting references to objects like
StackInfo. |
protected UpgradeDAO |
m_upgradeDAO
Used to lookup or update
UpgradeEntity instances. |
protected UpgradeHelper |
m_upgradeHelper
Used to move desired repo versions forward.
|
actionLog, gsonACTION_NAME, ACTION_USER_NAME, DEFAULT_LONG_RUNNING_TASK_TIMEOUT_SECONDS, WRAPPED_CLASS_NAME| Constructor and Description |
|---|
AbstractUpgradeServerAction() |
| Modifier and Type | Method and Description |
|---|---|
Clusters |
getClusters() |
protected com.google.gson.Gson |
getGson()
Gets the injected instance of the
Gson serializer/deserializer. |
protected UpgradeContext |
getUpgradeContext(Cluster cluster)
Gets an initialized
UpgradeContext for the in-progress upgrade. |
auditLog, createCommandReport, createCompletedCommandReport, getCommandParameters, getCommandParameterValue, getExecutionCommand, getHostRoleCommand, setExecutionCommand, setHostRoleCommandclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute@Inject protected Clusters m_clusters
@Inject protected UpgradeHelper m_upgradeHelper
@Inject protected UpgradeDAO m_upgradeDAO
UpgradeEntity instances.@Inject protected AgentConfigsHolder agentConfigsHolder
@Inject protected com.google.inject.Provider<AmbariMetaInfo> m_metainfoProvider
StackInfo.@Inject protected ConfigHelper m_configHelper
@Inject protected AmbariManagementController m_amc
public Clusters getClusters()
protected com.google.gson.Gson getGson()
Gson serializer/deserializer.Gson instance.protected UpgradeContext getUpgradeContext(Cluster cluster)
UpgradeContext for the in-progress upgrade.Copyright © 2022 Apache Software Foundation. All rights reserved.