org.jbehaviour.IBehaviourScenario Maven / Gradle / Ivy
The newest version!
package org.jbehaviour;
import java.util.List;
import org.jbehaviour.reflexion.IBehaviourReflexionContext;
public interface IBehaviourScenario {
/**
* add a new compiled context to this scenario
* @param context
*/
public void add(IBehaviourReflexionContext context);
/**
* get all context
* @return
*/
public List getContexts();
/**
* get the statement of this scenario
* @return
*/
public String getStatement();
/**
* compute which scenario call this one
* @param scenarios
*/
public void setCallers(List scenarios);
/**
* retrieve scenario which call this one
* @return
*/
public List getCallers();
}