com.atlassian.confluence.plugin.module
Interface PluginProvidedDecoratorModule
public interface PluginProvidedDecoratorModule
Holds data about the decorator override.
Method Summary |
java.lang.String |
getTemplate()
|
java.lang.String |
key()
|
boolean |
matches(java.lang.String path)
Returns true if this decorator override should match the given path. |
matches
boolean matches(java.lang.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
java.lang.String getTemplate()
- Returns:
- A path to the template. This should be on the classpath.
key
java.lang.String key()
- Returns:
- A key that uniquely describes this module.
Copyright © 2003-2014 Atlassian. All Rights Reserved.