gherkin.formatter
Interface Formatter

All Known Implementing Classes:
FilterFormatter, JSONFormatter, PrettyFormatter

public interface Formatter

This is the interface you should implement if you want your own custom formatter.


Method Summary
 void background(Background background)
           
 void close()
           
 void eof()
           
 void examples(Examples examples)
           
 void feature(Feature feature)
           
 void scenario(Scenario scenario)
           
 void scenarioOutline(ScenarioOutline scenarioOutline)
           
 void step(Step step)
           
 void syntaxError(String state, String event, List<String> legalEvents, String uri, int line)
           
 void uri(String uri)
           
 

Method Detail

uri

void uri(String uri)

feature

void feature(Feature feature)

background

void background(Background background)

scenario

void scenario(Scenario scenario)

scenarioOutline

void scenarioOutline(ScenarioOutline scenarioOutline)

examples

void examples(Examples examples)

step

void step(Step step)

eof

void eof()

syntaxError

void syntaxError(String state,
                 String event,
                 List<String> legalEvents,
                 String uri,
                 int line)

close

void close()


Copyright © 2011. All Rights Reserved.