public class CExecutionStep extends java.lang.Object implements IConstantsResults
CExecutionStep
class defines a generic status foe a particular
step during testcase executionREQUEST_EXISTINGDEFECT, REQUEST_NEWDEFECT, REQUEST_NEXTTEST, REQUEST_NEXTTESTCASE, REQUEST_PAUSE, REQUEST_PREVIOUSTEST, REQUEST_PREVIOUSTESTCASE, REQUEST_REWINDTESTCASE, RESULT_FAILURE, RESULT_INDEFINITE, RESULT_INFO, RESULT_NO_RESULT, RESULT_NOT_EXECUTABLE, RESULT_NOT_EXECUTED, RESULT_SUCCESS, RESULT_UNKNOWN
Constructor and Description |
---|
CExecutionStep(short result,
java.lang.String message)
Construct a
CExecutionStep object |
CExecutionStep(java.lang.String timestamp,
short result,
java.lang.String message)
Construct a
CExecutionStep object |
CExecutionStep(java.lang.String timestamp,
short result,
java.lang.String step,
java.lang.String check,
java.lang.String message)
Construct a
CExecutionStep object |
CExecutionStep(java.lang.String timestamp,
short result,
java.lang.String step,
java.lang.String check,
java.lang.String message,
java.util.Vector<CCustomFieldTypeAndNameAndValueDescriptor> customFields)
Construct a
CExecutionStep object |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCheck()
Return Return the check description
|
java.util.Vector<CCustomFieldTypeAndNameAndValueDescriptor> |
getCustomFields() |
java.lang.String |
getMessage()
Return Return the message of the execution step
|
short |
getResult()
Return the result of the execution step
|
java.lang.String |
getStep()
Return Return the step description
|
java.lang.String |
getTimestamp()
Return the timestamp of the execution step
|
java.lang.String |
toString() |
public CExecutionStep(short result, java.lang.String message)
CExecutionStep
objectresult
- a standard result code (RESULT_FAILURE
, RESULT_NO_RESULT
,
RESULT_NOT_EXECUTED
, RESULT_INDEFINITE
, RESULT_SUCCESS
or RESULT_UNKNOWN
)message
- a message (optional) describing the action and result observedpublic CExecutionStep(java.lang.String timestamp, short result, java.lang.String message)
CExecutionStep
objecttimestamp
- a string identifying either the execution time or simply a timestampresult
- a standard result code (RESULT_FAILURE
, RESULT_NO_RESULT
,
RESULT_NOT_EXECUTED
, RESULT_INDEFINITE
, RESULT_SUCCESS
or RESULT_UNKNOWN
)message
- a message (optional) describing the action and result observedpublic CExecutionStep(java.lang.String timestamp, short result, java.lang.String step, java.lang.String check, java.lang.String message)
CExecutionStep
objecttimestamp
- a string identifying either the execution time or simply a timestampresult
- a standard result code (RESULT_FAILURE
, RESULT_NO_RESULT
,
RESULT_NOT_EXECUTED
, RESULT_INDEFINITE
, RESULT_SUCCESS
or RESULT_UNKNOWN
)step
- the description of the stepcheck
- the description of the checkmessage
- a message (optional) describing the action and result observedpublic CExecutionStep(java.lang.String timestamp, short result, java.lang.String step, java.lang.String check, java.lang.String message, java.util.Vector<CCustomFieldTypeAndNameAndValueDescriptor> customFields)
CExecutionStep
objecttimestamp
- a string identifying either the execution time or simply a timestampresult
- a standard result code (RESULT_FAILURE
, RESULT_NO_RESULT
,
RESULT_NOT_EXECUTED
, RESULT_INDEFINITE
, RESULT_SUCCESS
or RESULT_UNKNOWN
)step
- the description of the stepcheck
- the description of the checkmessage
- a message (optional) describing the action and result observedcustomFields
- name and value of the custom fields set at step result levelpublic java.lang.String getTimestamp()
public short getResult()
The short returned is one of the following value: RESULT_FAILURE
,
RESULT_NO_RESULT
, RESULT_NOT_EXECUTED
, RESULT_INDEFINITE
,
RESULT_SUCCESS
or RESULT_UNKNOWN
public java.lang.String getStep()
public java.lang.String getCheck()
public java.lang.String getMessage()
public java.util.Vector<CCustomFieldTypeAndNameAndValueDescriptor> getCustomFields()
public java.lang.String toString()
toString
in class java.lang.Object