Interface TemplateFilePathProvider.PathGenerator

Enclosing class:
TemplateFilePathProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TemplateFilePathProvider.PathGenerator
The interface that implements a function for generating template file path.
  • Method Summary

    Modifier and Type
    Method
    Description
    generatePath(Class<?> type, Method method, String databaseId)
    Generate a template file path.
  • Method Details

    • generatePath

      String generatePath(Class<?> type, Method method, String databaseId)
      Generate a template file path.
      Parameters:
      type - mapper interface type that specified provider (or declaring interface type of mapper method)
      method - a mapper method that specified provider
      databaseId - a database id that provided from DatabaseIdProvider
      Returns:
      a template file path