Interface RouteImport


public interface RouteImport
RouteImport is an interface that should be implemented by enums that provide a route. Enums implementing this interface must define the route() method to return their associated route as a String.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the route associated with the enum constant.
  • Method Details

    • getRoute

      String getRoute()
      Gets the route associated with the enum constant.
      Returns:
      the route as a String