Class Operations

java.lang.Object
dk.mada.jaxrs.model.api.Operations

public final class Operations extends Object
Operations in the model.
  • Constructor Details

    • Operations

      public Operations(Collection<Operation> operations)
      Constructs new instance.
      Parameters:
      operations - the operations in the model
  • Method Details

    • getAll

      public Set<Operation> getAll()
      Returns all operations.
      Returns:
      all operations
    • getByGroup

      public Map<String,List<Operation>> getByGroup()
      Returns the operations grouped by their group-id.
      Returns:
      the operations grouped by their group-id
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • info

      public String info()
      Returns information about operations.
      Returns:
      information about operations