public class CommonServiceDirectory extends ServiceDirectory
CHECKS_FOLDER_NAME, checksDir, PACKAGE_FOLDER_NAME, packageDir, SERVER_ACTIONS_FOLDER_NAME, serverActionsDir, SERVICES_FOLDER_NAME, UPGRADES_FOLDER_NAME, upgradesDirCONFIG_UPGRADE_XML_FILENAME_PREFIX, directory, XML_FILENAME_FILTER| Constructor and Description |
|---|
CommonServiceDirectory(String servicePath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAdvisorName(String serviceName)
Obtain the advisor name.
|
protected File |
getResourcesDirectory() |
String |
getService() |
String |
getStack() |
calculateChecksDirectory, calculateDirectories, calculatePackageDirectory, calculateServerActionsDirectory, calculateUpgradesDirectory, getAdvisorFile, getAlertsFile, getChecksDir, getKerberosDescriptorFile, getMetaInfoFile, getMetricsFile, getPackageDir, getRoleCommandOrder, getServerActionsDir, getThemeFile, getUpgradesDir, getWidgetsDescriptorFile, parseMetaInfoFile, parsePath, resolveDirectory, resolveRelativeDirectoryPathStringgetAbsolutePath, getConfigurationDirectory, getDirectory, getName, getPathpublic CommonServiceDirectory(String servicePath) throws org.apache.ambari.server.AmbariException
servicePath - path of the service directoryorg.apache.ambari.server.AmbariException - if unable to parse the service directorypublic String getAdvisorName(String serviceName)
getAdvisorName in class ServiceDirectorypublic String getService()
getService in class ServiceDirectoryprotected File getResourcesDirectory()
getResourcesDirectory in class ServiceDirectorypublic String getStack()
getStack in class ServiceDirectoryCopyright © 2022 Apache Software Foundation. All rights reserved.