Package org.graylog.grn
Class GRNDescriptorService
java.lang.Object
org.graylog.grn.GRNDescriptorService
Provides GRN descriptor instances.
-
Constructor Summary
ConstructorDescriptionGRNDescriptorService
(Map<GRNType, GRNDescriptorProvider> descriptorProviders) -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptor
(GRN grn) Returns the descriptor instance for the given GRN.getDescriptors
(Collection<GRN> grns) Returns descriptors for the given GRN collection.
-
Constructor Details
-
GRNDescriptorService
-
-
Method Details
-
getDescriptor
Returns the descriptor instance for the given GRN.- Parameters:
grn
- the GRN- Returns:
- the descriptor instance for the GRN
-
getDescriptors
Returns descriptors for the given GRN collection.- Parameters:
grns
- collection of GRNs- Returns:
- the descriptors for the given GRNs
-