Interface SamplerSpec


public interface SamplerSpec
  • Method Details

    • sample

      SamplerResponse sample()
    • getType

      @Nullable default String getType()
      Returns the type of this sampler type.
      Returns:
      sampler spec type label
    • getInputSourceResources

      @Nonnull default Set<ResourceAction> getInputSourceResources() throws UOE
      Returns:
      The types of InputSource that the sampler spec uses. Empty set is returned if the sampler spec does not use any. Users can be given permission to access particular types of input sources but not others, using the AuthConfig.enableInputSourceSecurity config.
      Throws:
      UOE