Class Rule<T>

  • Type Parameters:
    T - target type of the rule

    public class Rule<T>
    extends Object
    Simple holder for a rule.
    • Method Detail

      • getPath

        public String getPath()
      • getTarget

        public T getTarget()
      • fromUri

        public static <T> Rule<T> fromUri​(String uri,
                                          List<String> methods,
                                          T target)
        Create a new rule.
      • fromUri

        public static <T> Rule<T> fromUri​(String uri,
                                          String methods,
                                          T target)
        Create a new rule.
      • getExtractionCount

        public int getExtractionCount()