Interface Operation

All Known Implementing Classes:
OperationGroup, OperationHeader, OperationLink

public interface Operation
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> com.google.common.base.Optional<T>
    Traverse through operation elements to visit them.
     
  • Method Details

    • getId

      @Nullable 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.