public class NagiosPropertyProvider extends BaseProvider implements PropertyProvider
Constructor and Description |
---|
NagiosPropertyProvider(Resource.Type type,
StreamProvider streamProvider,
String clusterPropertyId,
String typeMatchPropertyId) |
Modifier and Type | Method and Description |
---|---|
void |
forceReset()
Use only for testing to remove all cached alerts.
|
static void |
init(com.google.inject.Injector injector) |
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.
|
checkConfigPropertyIds, checkPropertyIds, containsArguments, getPropertyIds, getRegexGroups, getRegExpKey, getRequestPropertyIds, isPatternKey, setResourceProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPropertyIds
public NagiosPropertyProvider(Resource.Type type, StreamProvider streamProvider, String clusterPropertyId, String typeMatchPropertyId)
@Inject public static void init(com.google.inject.Injector injector)
public void forceReset()
public Set<Resource> populateResources(Set<Resource> resources, Request request, Predicate predicate) throws SystemException
PropertyProvider
populateResources
in interface PropertyProvider
resources
- 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 © 2017. All rights reserved.