Package com.tngtech.jgiven.annotation
Interface AsProvider
-
public interface AsProvider
Provides a representation of a stage method, scenario or scenario class.- Since:
- 0.12.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
as(As annotation, java.lang.Class<?> scenarioClass)
Provide the representation for a scenario class.java.lang.String
as(As annotation, java.lang.reflect.Method method)
Provide the representation for a stage method or scenario.
-
-
-
Method Detail
-
as
java.lang.String as(As annotation, java.lang.reflect.Method method)
Provide the representation for a stage method or scenario.- Parameters:
annotation
- TheAs
annotation using this provider.method
- The method of which a representation is requested.- Returns:
- A representation of the method.
- Since:
- 0.12.0
-
as
java.lang.String as(As annotation, java.lang.Class<?> scenarioClass)
Provide the representation for a scenario class.- Parameters:
annotation
- TheAs
annotation using this provider.scenarioClass
- The scenario class of which a representation is requested.- Returns:
- A representation of the scenario class.
- Since:
- 0.12.0
-
-