Class SampleRulesServiceImpl

java.lang.Object
com.codebarrel.automation.sample.rules.service.SampleRulesServiceImpl
All Implemented Interfaces:
SampleRulesService

public class SampleRulesServiceImpl extends Object implements SampleRulesService
  • Constructor Details

  • Method Details

    • createSampleRules

      public CreateSampleRulesResult createSampleRules(CreateSampleRulesRequest createRequest)
      Description copied from interface: SampleRulesService
      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.
      Specified by:
      createSampleRules in interface SampleRulesService
      Parameters:
      createRequest - containing projectKey if there is one and tenant information
      Returns:
      whether the request was successful and created rules as payload if succeeded