public class ExtensionDirectory extends StackDefinitionDirectory
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSIONS_FOLDER_NAME
extensions directory name
|
CONFIG_UPGRADE_XML_FILENAME_PREFIX, directory, XML_FILENAME_FILTER
Constructor and Description |
---|
ExtensionDirectory(String directory)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getExtensionDirName()
Obtain the extension directory name.
|
ExtensionMetainfoXml |
getMetaInfoFile()
Obtain the object representation of the extension metainfo.xml file.
|
Collection<ServiceDirectory> |
getServiceDirectories()
Obtain a collection of all service directories.
|
getAbsolutePath, getConfigurationDirectory, getDirectory, getName, getPath
public static final String EXTENSIONS_FOLDER_NAME
public ExtensionDirectory(String directory) throws org.apache.ambari.server.AmbariException
directory
- extension directoryorg.apache.ambari.server.AmbariException
- if unable to parse the stack directorypublic String getExtensionDirName()
public ExtensionMetainfoXml getMetaInfoFile()
public Collection<ServiceDirectory> getServiceDirectories()
Copyright © 2022 Apache Software Foundation. All rights reserved.