public class HttpPropertyProvider extends BaseProvider implements PropertyProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpPropertyProvider.HttpPropertyRequest
Represents an HTTP request to another server for properties to be
used to populate an Ambari resource.
|
| Constructor and Description |
|---|
HttpPropertyProvider(StreamProvider stream,
Clusters clusters,
String clusterNamePropertyId,
String hostNamePropertyId,
String publicHostNamePropertyId,
String componentNamePropertyId,
Map<String,List<HttpPropertyProvider.HttpPropertyRequest>> httpPropertyRequests) |
| Modifier and Type | Method and Description |
|---|---|
Set<Resource> |
populateResources(Set<Resource> resources,
Request request,
Predicate predicate)
Populate the given set of resource with any properties that this property
provider can provide and return a populated set of resources.
|
checkCategory, checkConfigPropertyIds, checkPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourcePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPropertyIdspublic HttpPropertyProvider(StreamProvider stream, Clusters clusters, String clusterNamePropertyId, String hostNamePropertyId, String publicHostNamePropertyId, String componentNamePropertyId, Map<String,List<HttpPropertyProvider.HttpPropertyRequest>> httpPropertyRequests)
public Set<Resource> populateResources(Set<Resource> resources, Request request, Predicate predicate) throws SystemException
PropertyProviderpopulateResources in interface PropertyProviderresources - the resources to be populatedrequest - the request object which defines the desired set of propertiespredicate - the predicate object which filters which resources are returnedSystemException - thrown if resources cannot be populatedCopyright © 2022 Apache Software Foundation. All rights reserved.