Class Link

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

public class Link extends Object implements Serializable
Model object that could be used to pass links to external resources to test results.
Since:
2.0
See Also:
  • Constructor Details

    • Link

      public Link()
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public Link setName(String value)
      Sets name.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getUrl

      public String getUrl()
      Gets url.
      Returns:
      the url
    • setUrl

      public Link setUrl(String value)
      Sets url.
      Parameters:
      value - the value
      Returns:
      self for method chaining
    • getType

      public String getType()
      Gets type.
      Returns:
      the type
    • setType

      public Link setType(String value)
      Sets type.
      Parameters:
      value - the value
      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