All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.cukedoctor.spi.ExamplesRenderer Maven / Gradle / Ivy

package com.github.cukedoctor.spi;

import com.github.cukedoctor.api.CukedoctorDocumentBuilder;
import com.github.cukedoctor.api.model.Scenario;
import com.github.cukedoctor.renderer.BaseRenderer;

/** Created by pestano on 28/02/16. */
public interface ExamplesRenderer extends BaseRenderer {

  /**
   * @param scenario the scenario containing the examples
   * @return the renderer {@link String}
   * @deprecated Use renderScenarioExamples(Scenario, CukedoctorDocumentBuilder) instead
   */
  @Deprecated
  String renderScenarioExamples(Scenario scenario);

  default String renderScenarioExamples(
      Scenario scenario, CukedoctorDocumentBuilder documentBuilder) {
    setDocumentBuilder(documentBuilder);
    return renderScenarioExamples(scenario);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy