Interface CrudEndpointPolicy

All Known Implementing Classes:
CrudTemplate

public interface CrudEndpointPolicy
Interface for defining policies that resolve CRUD endpoints. Implementations of this interface should provide a way to resolve a set of CRUD endpoints based on specific criteria or configurations.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the policy.
    Resolves a set of CRUD endpoints based on the policy's criteria.
  • Method Details

    • resolveEndpoints

      Set<CrudEndpoint> resolveEndpoints()
      Resolves a set of CRUD endpoints based on the policy's criteria.
      Returns:
      a set of CrudEndpoint instances that match the policy.
    • name

      String name()
      Returns the name of the policy. This name is used to identify the policy in generated code.
      Returns:
      the name of the policy.