ContextView.java

  1. package org.jbehave.core.context;

  2. /**
  3.  * ContextView allows the viewing of context-related messages.
  4.  */
  5. public interface ContextView {

  6.     void show(String story, String scenario, String step);
  7.    
  8.     void close();
  9.    
  10.     public static class NULL implements ContextView {
  11.         @Override
  12.         public void show(String story, String scenario, String step) {
  13.         }

  14.         @Override
  15.         public void close() {
  16.         }
  17.     }

  18. }