Class GRNDescriptorService

java.lang.Object
org.graylog.grn.GRNDescriptorService

public class GRNDescriptorService extends Object
Provides GRN descriptor instances.
  • Constructor Details

  • Method Details

    • getDescriptor

      public GRNDescriptor getDescriptor(GRN grn)
      Returns the descriptor instance for the given GRN.
      Parameters:
      grn - the GRN
      Returns:
      the descriptor instance for the GRN
    • getDescriptors

      public Set<GRNDescriptor> getDescriptors(Collection<GRN> grns)
      Returns descriptors for the given GRN collection.
      Parameters:
      grns - collection of GRNs
      Returns:
      the descriptors for the given GRNs