Interface PluginProvidedDecoratorModule


public interface PluginProvidedDecoratorModule
Holds data about the decorator override.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    key()
     
    boolean
    Returns true if this decorator override should match the given path.
  • Method Details

    • matches

      boolean matches(String path)
      Returns true if this decorator override should match the given path.
      Parameters:
      path - the path. This path should start with a slash, and end just before the query string if any. Usually, the path is the concatenation of HttpServletRequest.getServletPath() and HttpServletRequest.getPathInfo().
      Returns:
      true if this module will match the given path
    • getTemplate

      String getTemplate()
      Returns:
      A path to the template. This should be on the classpath.
    • key

      String key()
      Returns:
      A key that uniquely describes this module.