Class Link

java.lang.Object
io.jenkins.blueocean.rest.hal.Link

@ExportedBean(defaultVisibility=99999) public final class Link extends Object
Link holding reference to a resource.
Author:
Vivek Pandey
See Also:
  • Constructor Details

    • Link

      public Link(String href)
  • Method Details

    • getHref

      @Exported(name="href") public String getHref()
    • rel

      public Link rel(String name)
      Resolves a relative reference.
    • ancestor

      public Link ancestor()
      Gives ancestor Link, for example, for link("/a/b/c/d"), ancestor is "a/b/c/".
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object