Class OperationLink

java.lang.Object
com.atlassian.jira.rest.client.api.domain.OperationLink
All Implemented Interfaces:
Operation

public class OperationLink extends Object implements Operation
Represents operations link
Since:
2.0
  • Constructor Details

  • Method Details

    • getId

      @Nullable public String getId()
      Specified by:
      getId in interface Operation
      Returns:
      Operation id. May be null.
    • accept

      public <T> com.google.common.base.Optional<T> accept(OperationVisitor<T> visitor)
      Description copied from interface: Operation
      Traverse through operation elements to visit them. Traversal will stop on first non absent value returned from the visitor.
      Specified by:
      accept in interface Operation
      Type Parameters:
      T - Visiting result type
      Parameters:
      visitor - Visitor to visit operation element
      Returns:
      Value returned from the visitor.
    • getStyleClass

      @Nullable public String getStyleClass()
    • getLabel

      public String getLabel()
    • getTitle

      @Nullable public String getTitle()
    • getHref

      public String getHref()
    • getWeight

      @Nullable public Integer getWeight()
    • getIconClass

      @Nullable public String getIconClass()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object