public class ClusterImpl extends Object implements org.apache.ambari.view.cluster.Cluster
| Constructor and Description |
|---|
ClusterImpl(Cluster cluster)
Create a view associated cluster from an Ambari cluster.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getConfigByType(String type) |
String |
getConfigurationValue(String type,
String key) |
List<String> |
getHostsForServiceComponent(String serviceName,
String componentName) |
String |
getName() |
public ClusterImpl(Cluster cluster)
cluster - the Ambari clusterpublic String getName()
getName in interface org.apache.ambari.view.cluster.Clusterpublic String getConfigurationValue(String type, String key)
getConfigurationValue in interface org.apache.ambari.view.cluster.Clusterpublic Map<String,String> getConfigByType(String type)
getConfigByType in interface org.apache.ambari.view.cluster.ClusterCopyright © 2022 Apache Software Foundation. All rights reserved.