Class AbstractStepExecutionInfo

java.lang.Object
de.qytera.qtaf.core.guice.invokation.AbstractStepExecutionInfo
Direct Known Subclasses:
AfterMethodExecutionInfo, AfterSuiteExecutionInfo, AfterTestExecutionInfo, BeforeMethodExecutionInfo, BeforeSuiteExecutionInfo, BeforeTestExecutionInfo, StepExecutionInfo

public abstract class AbstractStepExecutionInfo extends Object
Base class for managing step execution information.
  • Field Details

    • id

      protected int id
      The step ID.
  • Constructor Details

    • AbstractStepExecutionInfo

      public AbstractStepExecutionInfo()
  • Method Details

    • getId

      public int getId()
      Get id.
      Returns:
      id
    • setId

      public AbstractStepExecutionInfo setId(int id)
      Set id.
      Parameters:
      id - Id
      Returns:
      this
    • getMethodInvocation

      public org.aopalliance.intercept.MethodInvocation getMethodInvocation()
      Get methodInvocation.
      Returns:
      methodInvocation
    • setMethodInvocation

      public AbstractStepExecutionInfo setMethodInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation)
      Set methodInvocation.
      Parameters:
      methodInvocation - MethodInvocation
      Returns:
      this
    • getResult

      public Object getResult()
      Get result.
      Returns:
      result
    • setResult

      public AbstractStepExecutionInfo setResult(Object result)
      Set result.
      Parameters:
      result - Result
      Returns:
      this
    • getError

      public Throwable getError()
      Get error.
      Returns:
      error
    • setError

      public AbstractStepExecutionInfo setError(Throwable error)
      Set error.
      Parameters:
      error - Error
      Returns:
      this
    • getThread

      public Thread getThread()
      Get thread.
      Returns:
      thread
    • setThread

      public AbstractStepExecutionInfo setThread(Thread thread)
      Set thread.
      Parameters:
      thread - Thread
      Returns:
      this
    • getStackTraceElements

      public StackTraceElement[] getStackTraceElements()
      Get stackTraceElements.
      Returns:
      stackTraceElements
    • setStackTraceElements

      public AbstractStepExecutionInfo setStackTraceElements(StackTraceElement[] stackTraceElements)
      Set stackTraceElements.
      Parameters:
      stackTraceElements - StackTraceElements
      Returns:
      this