com.atlassian.jira.rest.client.api.domain
Class OperationGroup
java.lang.Object
com.atlassian.jira.rest.client.api.domain.OperationGroup
- All Implemented Interfaces:
- Operation
public class OperationGroup
- extends java.lang.Object
- implements Operation
Represents operations group
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OperationGroup
public OperationGroup(@Nullable
java.lang.String id,
java.lang.Iterable<OperationLink> links,
java.lang.Iterable<OperationGroup> groups,
@Nullable
OperationHeader header,
@Nullable
java.lang.Integer weight)
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.
getHeader
@Nullable
public OperationHeader getHeader()
getLinks
public java.lang.Iterable<OperationLink> getLinks()
getGroups
public java.lang.Iterable<OperationGroup> getGroups()
getWeight
@Nullable
public java.lang.Integer getWeight()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2015 Atlassian. All Rights Reserved.