
ar.com.dgarcia.javaspec.impl.model.SpecElement Maven / Gradle / Ivy
package ar.com.dgarcia.javaspec.impl.model;
import java.util.List;
/**
* This type represents a java spec element that has a name
* Created by kfgodel on 12/07/14.
*/
public interface SpecElement {
/**
* The name identifying this element
* @return The name given by definition of this element
*/
public String getName();
/**
* Returns the ordered runnables that represent code blocks to execute before to the test.
* Inherited blocks are first
* @return The list of inherited before blocks
*/
List getBeforeBlocks();
/**
* Returns the ordered runnables that represent code blocks to execute after the test.
* Inherited blocks are last
* @return The list of inherited after blocks
*/
List getAfterBlocks();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy