Interface SampleRulesService

All Known Implementing Classes:
SampleRulesServiceImpl

public interface SampleRulesService
  • Method Details

    • createSampleRules

      CreateSampleRulesResult createSampleRules(CreateSampleRulesRequest createSampleRulesRequest)
      Creates project type specific sample rules using the supplied project key. If no project is supplied will add generic rules to global context. Sample rules will only be applied once per context, if you import sample rules once into a project, you can't import them again.
      Parameters:
      createSampleRulesRequest - containing projectKey if there is one and tenant information
      Returns:
      whether the request was successful and created rules as payload if succeeded