Modifier and Type | Method and Description |
---|---|
VersionDefinitionXml |
AmbariMetaInfo.getVersionDefinition(String versionDefinitionId) |
Modifier and Type | Method and Description |
---|---|
Map<String,VersionDefinitionXml> |
AmbariMetaInfo.getVersionDefinitions() |
Modifier and Type | Method and Description |
---|---|
VersionDefinitionXml |
RepositoryVersionEntity.getRepositoryXml()
Parse the version XML into its object representation.
|
Modifier and Type | Method and Description |
---|---|
VersionDefinitionXml |
StackInfo.getLatestVersionDefinition() |
VersionDefinitionXml |
CheckHelper.getVersionDefinitionXml(org.apache.ambari.spi.upgrade.UpgradeCheckRequest request)
Gets a de-serialized
VersionDefinitionXml from the repository for
this upgrade. |
Modifier and Type | Method and Description |
---|---|
Collection<VersionDefinitionXml> |
StackInfo.getVersionDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
StackInfo.addVersionDefinition(String key,
VersionDefinitionXml xml) |
void |
StackInfo.setLatestVersionDefinition(VersionDefinitionXml xml) |
List<Host> |
Cluster.transitionHostsToInstalling(RepositoryVersionEntity repoVersionEntity,
VersionDefinitionXml versionDefinitionXml,
boolean forceInstalled)
Creates or updates host versions for all of the hosts within a cluster
based on state of cluster stack version.
|
Modifier and Type | Method and Description |
---|---|
List<Host> |
ClusterImpl.transitionHostsToInstalling(RepositoryVersionEntity repoVersionEntity,
VersionDefinitionXml versionDefinitionXml,
boolean forceInstalled)
Creates or updates host versions for all of the hosts within a cluster
based on state of cluster stack version.
|
Modifier and Type | Method and Description |
---|---|
static VersionDefinitionXml |
VersionDefinitionXml.build(StackInfo stackInfo)
Builds a Version Definition that is the default for the stack.
|
static VersionDefinitionXml |
VersionDefinitionXml.load(String xml)
Parses an xml string.
|
static VersionDefinitionXml |
VersionDefinitionXml.load(URL url)
Parses a URL for a definition XML file into the object graph.
|
VersionDefinitionXml |
VersionDefinitionXml.Merger.merge() |
Modifier and Type | Method and Description |
---|---|
void |
VersionDefinitionXml.Merger.add(String version,
VersionDefinitionXml xml)
Adds definition to this one.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.