com.atlassian.jira.rest.client.api.domain
Class OperationLink
java.lang.Object
com.atlassian.jira.rest.client.api.domain.OperationLink
- All Implemented Interfaces:
- Operation
public class OperationLink
- extends java.lang.Object
- implements Operation
Represents operations link
- Since:
- 2.0
Constructor Summary |
OperationLink(java.lang.String id,
java.lang.String styleClass,
java.lang.String label,
java.lang.String title,
java.lang.String href,
java.lang.Integer weight,
java.lang.String iconClass)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OperationLink
public OperationLink(@Nullable
java.lang.String id,
@Nullable
java.lang.String styleClass,
java.lang.String label,
@Nullable
java.lang.String title,
java.lang.String href,
@Nullable
java.lang.Integer weight,
@Nullable
java.lang.String iconClass)
getId
@Nullable
public java.lang.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 java.lang.String getStyleClass()
getLabel
public java.lang.String getLabel()
getTitle
@Nullable
public java.lang.String getTitle()
getHref
public java.lang.String getHref()
getWeight
@Nullable
public java.lang.Integer getWeight()
getIconClass
@Nullable
public java.lang.String getIconClass()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2015 Atlassian. All Rights Reserved.