Class Problem
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a specific warning or failure.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the associated device.getJob()
Information about the associated job.A message about the problem's result.The problem's result.getRun()
Information about the associated run.getSuite()
Information about the associated suite.getTest()
Information about the associated test.int
hashCode()
void
Information about the associated device.void
setJob
(ProblemDetail job) Information about the associated job.void
setMessage
(String message) A message about the problem's result.void
setResult
(ExecutionResult result) The problem's result.void
The problem's result.void
setRun
(ProblemDetail run) Information about the associated run.void
setSuite
(ProblemDetail suite) Information about the associated suite.void
setTest
(ProblemDetail test) Information about the associated test.toString()
Returns a string representation of this object; useful for testing and debugging.withDevice
(Device device) Information about the associated device.withJob
(ProblemDetail job) Information about the associated job.withMessage
(String message) A message about the problem's result.withResult
(ExecutionResult result) The problem's result.withResult
(String result) The problem's result.withRun
(ProblemDetail run) Information about the associated run.withSuite
(ProblemDetail suite) Information about the associated suite.withTest
(ProblemDetail test) Information about the associated test.
-
Constructor Details
-
Problem
public Problem()
-
-
Method Details
-
setRun
Information about the associated run.
- Parameters:
run
- Information about the associated run.
-
getRun
Information about the associated run.
- Returns:
- Information about the associated run.
-
withRun
Information about the associated run.
- Parameters:
run
- Information about the associated run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setJob
Information about the associated job.
- Parameters:
job
- Information about the associated job.
-
getJob
Information about the associated job.
- Returns:
- Information about the associated job.
-
withJob
Information about the associated job.
- Parameters:
job
- Information about the associated job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSuite
Information about the associated suite.
- Parameters:
suite
- Information about the associated suite.
-
getSuite
Information about the associated suite.
- Returns:
- Information about the associated suite.
-
withSuite
Information about the associated suite.
- Parameters:
suite
- Information about the associated suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTest
Information about the associated test.
- Parameters:
test
- Information about the associated test.
-
getTest
Information about the associated test.
- Returns:
- Information about the associated test.
-
withTest
Information about the associated test.
- Parameters:
test
- Information about the associated test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDevice
Information about the associated device.
- Parameters:
device
- Information about the associated device.
-
getDevice
Information about the associated device.
- Returns:
- Information about the associated device.
-
withDevice
Information about the associated device.
- Parameters:
device
- Information about the associated device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResult
The problem's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The problem's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- See Also:
-
-
getResult
The problem's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Returns:
- The problem's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- See Also:
-
-
withResult
The problem's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The problem's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setResult
The problem's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The problem's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- See Also:
-
-
withResult
The problem's result.
Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
- Parameters:
result
- The problem's result.Allowed values include:
-
PENDING: A pending condition.
-
PASSED: A passing condition.
-
WARNED: A warning condition.
-
FAILED: A failed condition.
-
SKIPPED: A skipped condition.
-
ERRORED: An error condition.
-
STOPPED: A stopped condition.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setMessage
A message about the problem's result.
- Parameters:
message
- A message about the problem's result.
-
getMessage
A message about the problem's result.
- Returns:
- A message about the problem's result.
-
withMessage
A message about the problem's result.
- Parameters:
message
- A message about the problem's result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-