public class GRNDescriptorService extends Object
| Constructor and Description |
|---|
GRNDescriptorService(Map<GRNType,GRNDescriptorProvider> descriptorProviders) |
| Modifier and Type | Method and Description |
|---|---|
GRNDescriptor |
getDescriptor(GRN grn)
Returns the descriptor instance for the given GRN.
|
Set<GRNDescriptor> |
getDescriptors(Collection<GRN> grns)
Returns descriptors for the given GRN collection.
|
@Inject public GRNDescriptorService(Map<GRNType,GRNDescriptorProvider> descriptorProviders)
public GRNDescriptor getDescriptor(GRN grn)
grn - the GRNpublic Set<GRNDescriptor> getDescriptors(Collection<GRN> grns)
grns - collection of GRNsCopyright © 2012–2021 Graylog, Inc.. All rights reserved.