Interface Operation
- All Known Implementing Classes:
OperationGroup,OperationHeader,OperationLink
public interface Operation
-
Method Summary
Modifier and TypeMethodDescription<T> com.google.common.base.Optional<T> accept(OperationVisitor<T> visitor) Traverse through operation elements to visit them.getId()
-
Method Details
-
getId
- Returns:
- Operation id. May be null.
-
accept
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.
-