public class RootServiceResponseFactory extends AbstractRootServiceResponseFactory
Modifier and Type | Field and Description |
---|---|
static String |
NOT_APPLICABLE |
Constructor and Description |
---|
RootServiceResponseFactory() |
Modifier and Type | Method and Description |
---|---|
Set<RootServiceComponentResponse> |
getRootServiceComponents(RootServiceComponentRequest request)
Get all components of root services.
|
Set<RootServiceHostComponentResponse> |
getRootServiceHostComponent(RootServiceHostComponentRequest request,
Set<HostResponse> hosts)
Get all components of root services related to hosts.
|
Set<RootServiceResponse> |
getRootServices(RootServiceRequest request)
Get all root services.
|
public static final String NOT_APPLICABLE
public Set<RootServiceResponse> getRootServices(RootServiceRequest request) throws ObjectNotFoundException
AbstractRootServiceResponseFactory
getRootServices
in class AbstractRootServiceResponseFactory
request
- the root servicesObjectNotFoundException
public Set<RootServiceComponentResponse> getRootServiceComponents(RootServiceComponentRequest request) throws ObjectNotFoundException
AbstractRootServiceResponseFactory
getRootServiceComponents
in class AbstractRootServiceResponseFactory
request
- the host components of root servicesObjectNotFoundException
public Set<RootServiceHostComponentResponse> getRootServiceHostComponent(RootServiceHostComponentRequest request, Set<HostResponse> hosts) throws org.apache.ambari.server.AmbariException
AbstractRootServiceResponseFactory
getRootServiceHostComponent
in class AbstractRootServiceResponseFactory
request
- the host components of root services related to hostshosts
- the list of hostsorg.apache.ambari.server.AmbariException
- if the resources cannot be readCopyright © 2022 Apache Software Foundation. All rights reserved.