public class ServiceComponentSupport extends Object
Constructor and Description |
---|
ServiceComponentSupport(com.google.inject.Provider<AmbariMetaInfo> metaInfo) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
allUnsupported(Cluster cluster,
String stackName,
String stackVersion) |
boolean |
isServiceSupported(String serviceName,
String stackName,
String stackVersion)
Checks if the service is supported by the stack using metainfo
|
Set<ServiceComponent> |
unsupportedComponents(Cluster cluster,
String stackName,
String stackVersion)
Collects the ServiceComponents from the cluster which are not supported (component doesn't exist or was deleted) in the given stack.
|
Set<String> |
unsupportedServices(Cluster cluster,
String stackName,
String stackVersion)
Collects the service names from the cluster which are not supported (service doesn't exist or was deleted) in the given stack.
|
@Inject public ServiceComponentSupport(com.google.inject.Provider<AmbariMetaInfo> metaInfo)
public Set<String> unsupportedServices(Cluster cluster, String stackName, String stackVersion)
public boolean isServiceSupported(String serviceName, String stackName, String stackVersion)
public Set<ServiceComponent> unsupportedComponents(Cluster cluster, String stackName, String stackVersion) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
public Collection<String> allUnsupported(Cluster cluster, String stackName, String stackVersion) throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
Copyright © 2022 Apache Software Foundation. All rights reserved.