Class GlobalError

java.lang.Object
io.qameta.allure.model.StatusDetails
io.qameta.allure.model.GlobalError
All Implemented Interfaces:
Serializable

public class GlobalError extends StatusDetails
Error details that belong to the test run rather than to a test or fixture.
Since:
3.0
See Also:
  • 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

      public GlobalError setTimestamp(long value)
      Sets the time when the error was added.
      Parameters:
      value - the timestamp in milliseconds since the epoch
      Returns:
      self for method chaining
    • setKnown

      public GlobalError setKnown(boolean value)
      Sets known.
      Overrides:
      setKnown in class StatusDetails
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • setMuted

      public GlobalError setMuted(boolean value)
      Sets muted.
      Overrides:
      setMuted in class StatusDetails
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • setFlaky

      public GlobalError setFlaky(boolean value)
      Sets flaky.
      Overrides:
      setFlaky in class StatusDetails
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • setMessage

      public GlobalError setMessage(String value)
      Sets message.
      Overrides:
      setMessage in class StatusDetails
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • setTrace

      public GlobalError setTrace(String value)
      Sets trace.
      Overrides:
      setTrace in class StatusDetails
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • setActual

      public GlobalError setActual(String value)
      Sets actual.
      Overrides:
      setActual in class StatusDetails
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • setExpected

      public GlobalError setExpected(String value)
      Sets expected.
      Overrides:
      setExpected in class StatusDetails
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class StatusDetails
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class StatusDetails