public abstract class AbstractRootServiceResponseFactory extends Object
Constructor and Description |
---|
AbstractRootServiceResponseFactory() |
Modifier and Type | Method and Description |
---|---|
abstract Set<RootServiceComponentResponse> |
getRootServiceComponents(RootServiceComponentRequest request)
Get all components of root services.
|
abstract Set<RootServiceHostComponentResponse> |
getRootServiceHostComponent(RootServiceHostComponentRequest request,
Set<HostResponse> hosts)
Get all components of root services related to hosts.
|
abstract Set<RootServiceResponse> |
getRootServices(RootServiceRequest request)
Get all root services.
|
public abstract Set<RootServiceResponse> getRootServices(RootServiceRequest request) throws AmbariException
request
- the root servicesAmbariException
- if the resources cannot be readpublic abstract Set<RootServiceComponentResponse> getRootServiceComponents(RootServiceComponentRequest request) throws AmbariException
request
- the host components of root servicesAmbariException
- if the resources cannot be readpublic abstract Set<RootServiceHostComponentResponse> getRootServiceHostComponent(RootServiceHostComponentRequest request, Set<HostResponse> hosts) throws AmbariException
request
- the host components of root services related to hostshosts
- the list of hostsAmbariException
- if the resources cannot be readCopyright © 2015. All rights reserved.