Modifier and Type | Method and Description |
---|---|
StackInfo |
AmbariMetaInfo.getStack(StackId stackId)
Convenience method to get stack info from a stack id
|
StackInfo |
AmbariMetaInfo.getStack(String stackName,
String version) |
Modifier and Type | Method and Description |
---|---|
Collection<StackInfo> |
AmbariMetaInfo.getStacks() |
Collection<StackInfo> |
AmbariMetaInfo.getStacks(String stackName) |
Modifier and Type | Method and Description |
---|---|
void |
AmbariManagementHelper.createExtensionLink(StackManager stackManager,
StackInfo stackInfo,
ExtensionInfo extensionInfo)
This method will create a link between an extension version and a stack version (Extension Link).
|
void |
AmbariManagementHelper.updateExtensionLink(StackManager stackManager,
ExtensionLinkEntity linkEntity,
StackInfo stackInfo,
ExtensionInfo oldExtensionInfo,
ExtensionInfo newExtensionInfo)
Updates the extension version of the currently linked extension to the stack version
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
StackArtifactResourceProvider.getWidgetsDescriptorForService(StackInfo stackInfo,
String serviceName) |
Modifier and Type | Field and Description |
---|---|
protected NavigableMap<String,StackInfo> |
StackManager.stackMap
Map of stack id to stack info
|
Modifier and Type | Method and Description |
---|---|
StackInfo |
StackModule.getModuleInfo() |
StackInfo |
StackManager.getStack(String name,
String version)
Obtain the stack info specified by name and version.
|
Modifier and Type | Method and Description |
---|---|
Collection<StackInfo> |
StackManager.getStacks()
Obtain all stacks.
|
Collection<StackInfo> |
StackManager.getStacks(String name)
Obtain all stacks for the given name.
|
Map<String,List<StackInfo>> |
StackManager.getStacksByName()
Obtain all a map of all stacks by name.
|
Modifier and Type | Method and Description |
---|---|
void |
StackManager.linkStackToExtension(StackInfo stack,
ExtensionInfo extension) |
void |
StackManager.unlinkStackAndExtension(StackInfo stack,
ExtensionInfo extension) |
static void |
ExtensionHelper.validateCreateLink(StackManager stackManager,
StackInfo stack,
ExtensionInfo extension) |
static void |
ExtensionHelper.validateDeleteLink(Clusters clusters,
StackInfo stack,
ExtensionInfo extension) |
static void |
ExtensionHelper.validateUpdateLink(StackManager stackManager,
StackInfo stack,
ExtensionInfo oldExtension,
ExtensionInfo newExtension) |
Modifier and Type | Method and Description |
---|---|
int |
StackInfo.compareTo(StackInfo o) |
Constructor and Description |
---|
StackId(StackInfo stackInfo) |
Modifier and Type | Method and Description |
---|---|
static VersionDefinitionXml |
VersionDefinitionXml.build(StackInfo stackInfo)
Builds a Version Definition that is the default for the stack.
|
Collection<AvailableService> |
VersionDefinitionXml.getAvailableServices(StackInfo stack) |
List<ManifestServiceInfo> |
VersionDefinitionXml.getStackServices(StackInfo stack)
Gets the list of stack services, applying information from the version
definition.
|
Constructor and Description |
---|
LatestRepoCallable(String latestSourceUri,
File stackRepoFolder,
StackInfo stack,
OsFamily os_family) |
Copyright © 2022 Apache Software Foundation. All rights reserved.