Interface ArgumentContext

All Superinterfaces:
Context

public interface ArgumentContext extends Context
Interface to implement ArgumentContext
  • Method Details

    • engineContext

      default EngineContext engineContext()
      Get the EngineContext

      Equivalent to getClassContext().getEngineContext()

      Returns:
      the Engine Configuration
    • classContext

      default ClassContext classContext()
      Get the ClassContext
      Returns:
      the ClassContext
    • testArgumentIndex

      default int testArgumentIndex()
      Get the Argument index
      Returns:
      the Argument index
    • testArgument

      default Argument<?> testArgument()
      Get the Argument
      Returns:
      the Argument
    • testArgument

      default <V> Argument<V> testArgument(Class<V> type)
      Get the Argument
      Type Parameters:
      V - type
      Parameters:
      type - type
      Returns:
      the Argument
    • testArgumentPayload

      default <V> V testArgumentPayload()
      Get the Argument payload
      Type Parameters:
      V - type
      Returns:
      the Argument payload
    • testArgumentPayload

      default <V> V testArgumentPayload(Class<V> type)
      Get the Argument
      Type Parameters:
      V - type
      Parameters:
      type - type
      Returns:
      the Argument
    • getEngineContext

      default EngineContext getEngineContext()
      Get the EngineContext

      Equivalent to getClassContext().getEngineContext()

      Returns:
      the Engine Configuration
    • getClassContext

      ClassContext getClassContext()
      Get the ClassContext
      Returns:
      the ClassContext
    • getTestArgumentIndex

      int getTestArgumentIndex()
      Get the Argument index
      Returns:
      the Argument index
    • getTestArgument

      Argument<?> getTestArgument()
      Get the Argument
      Returns:
      the Argument
    • getTestArgument

      <V> Argument<V> getTestArgument(Class<V> type)
      Get the Argument
      Type Parameters:
      V - type
      Parameters:
      type - type
      Returns:
      the Argument
    • getTestArgumentPayload

      <V> V getTestArgumentPayload()
      Get the Argument payload
      Type Parameters:
      V - type
      Returns:
      the Argument payload
    • getTestArgumentPayload

      <V> V getTestArgumentPayload(Class<V> type)
      Get the Argument payload
      Type Parameters:
      V - type
      Parameters:
      type - type
      Returns:
      the Argument payload