java.lang.Object
io.qameta.allure.model.StatusDetails
io.qameta.allure.model.GlobalError
- All Implemented Interfaces:
Serializable
Error details that belong to the test run rather than to a test or fixture.
- Since:
- 3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongGets the time when the error was added.inthashCode()Sets actual.setExpected(String value) Sets expected.setFlaky(boolean value) Sets flaky.setKnown(boolean value) Sets known.setMessage(String value) Sets message.setMuted(boolean value) Sets muted.setTimestamp(long value) Sets the time when the error was added.Sets trace.Methods inherited from class io.qameta.allure.model.StatusDetails
getActual, getExpected, getMessage, getTrace, isFlaky, isKnown, isMuted
-
Constructor Details
-
GlobalError
public GlobalError()
-
-
Method Details
-
getTimestamp
public long getTimestamp()Gets the time when the error was added.- Returns:
- the timestamp in milliseconds since the epoch
-
setTimestamp
Sets the time when the error was added.- Parameters:
value- the timestamp in milliseconds since the epoch- Returns:
- self for method chaining
-
setKnown
Sets known.- Overrides:
setKnownin classStatusDetails- Parameters:
value- the value- Returns:
- self for method chaining
-
setMuted
Sets muted.- Overrides:
setMutedin classStatusDetails- Parameters:
value- the value- Returns:
- self for method chaining
-
setFlaky
Sets flaky.- Overrides:
setFlakyin classStatusDetails- Parameters:
value- the value- Returns:
- self for method chaining
-
setMessage
Sets message.- Overrides:
setMessagein classStatusDetails- Parameters:
value- the value- Returns:
- self for method chaining
-
setTrace
Sets trace.- Overrides:
setTracein classStatusDetails- Parameters:
value- the value- Returns:
- self for method chaining
-
setActual
Sets actual.- Overrides:
setActualin classStatusDetails- Parameters:
value- the value- Returns:
- self for method chaining
-
setExpected
Sets expected.- Overrides:
setExpectedin classStatusDetails- Parameters:
value- the value- Returns:
- self for method chaining
-
equals
- Overrides:
equalsin classStatusDetails
-
hashCode
public int hashCode()- Overrides:
hashCodein classStatusDetails
-