Interface AsProvider


public interface AsProvider
Provides a representation of a stage method, scenario or scenario class.
Since:
0.12.0
  • Method Summary

    Modifier and Type
    Method
    Description
    as(As annotation, Class<?> scenarioClass)
    Provide the representation for a scenario class.
    as(As annotation, Method method)
    Provide the representation for a stage method or scenario.
  • Method Details

    • as

      String as(As annotation, Method method)
      Provide the representation for a stage method or scenario.
      Parameters:
      annotation - The As annotation using this provider.
      method - The method of which a representation is requested.
      Returns:
      A representation of the method.
      Since:
      0.12.0
    • as

      String as(As annotation, Class<?> scenarioClass)
      Provide the representation for a scenario class.
      Parameters:
      annotation - The As 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