Class Globals

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

public class Globals extends Object implements Serializable
Test-run-level attachments and errors.
Since:
3.0
See Also:
  • Constructor Details

    • Globals

      public Globals()
  • Method Details

    • getAttachments

      public List<GlobalAttachment> getAttachments()
      Gets global attachments.
      Returns:
      the global attachments
    • setAttachments

      public Globals setAttachments(List<GlobalAttachment> value)
      Sets global attachments.
      Parameters:
      value - the global attachments
      Returns:
      self for method chaining
    • getErrors

      public List<GlobalError> getErrors()
      Gets global errors.
      Returns:
      the global errors
    • setErrors

      public Globals setErrors(List<GlobalError> value)
      Sets global errors.
      Parameters:
      value - the global errors
      Returns:
      self for method chaining
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object