com.atlassian.jira.rest.client.api.domain
Interface Operation

All Known Implementing Classes:
OperationGroup, OperationHeader, OperationLink

public interface Operation


Method Summary
<T> com.google.common.base.Optional<T>
accept(OperationVisitor<T> visitor)
          Traverse through operation elements to visit them.
 java.lang.String getId()
           
 

Method Detail

getId

@Nullable
java.lang.String getId()
Returns:
Operation id. May be null.

accept

<T> com.google.common.base.Optional<T> accept(OperationVisitor<T> visitor)
Traverse through operation elements to visit them. Traversal will stop on first non absent value returned from the visitor.

Type Parameters:
T - Visiting result type
Parameters:
visitor - Visitor to visit operation element
Returns:
Value returned from the visitor.


Copyright © 2015 Atlassian. All Rights Reserved.