Class AbstractStepExecutionInfo
java.lang.Object
de.qytera.qtaf.core.guice.invokation.AbstractStepExecutionInfo
- Direct Known Subclasses:
AfterMethodExecutionInfo,AfterSuiteExecutionInfo,AfterTestExecutionInfo,BeforeMethodExecutionInfo,BeforeSuiteExecutionInfo,BeforeTestExecutionInfo,StepExecutionInfo
Base class for managing step execution information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetError()Get error.intgetId()Get id.org.aopalliance.intercept.MethodInvocationGet methodInvocation.Get result.Get stackTraceElements.Get thread.Set error.setId(int id) Set id.setMethodInvocation(org.aopalliance.intercept.MethodInvocation methodInvocation) Set methodInvocation.Set result.setStackTraceElements(StackTraceElement[] stackTraceElements) Set stackTraceElements.Set thread.
-
Field Details
-
id
protected int idThe step ID.
-
-
Constructor Details
-
AbstractStepExecutionInfo
public AbstractStepExecutionInfo()
-
-
Method Details
-
getId
public int getId()Get id.- Returns:
- id
-
setId
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
Get result.- Returns:
- result
-
setResult
Set result.- Parameters:
result- Result- Returns:
- this
-
getError
Get error.- Returns:
- error
-
setError
Set error.- Parameters:
error- Error- Returns:
- this
-
getThread
Get thread.- Returns:
- thread
-
setThread
Set thread.- Parameters:
thread- Thread- Returns:
- this
-
getStackTraceElements
Get stackTraceElements.- Returns:
- stackTraceElements
-
setStackTraceElements
Set stackTraceElements.- Parameters:
stackTraceElements- StackTraceElements- Returns:
- this
-