1 package com.atlassian.plugin.webresource;
2
3 /**
4 * An interface for filtering web resources. It is used as inputs to {@link WebResourceManager} methods to
5 * filter resources that are returned.
6 *
7 * @since 2.4
8 */
9 public interface WebResourceFilter
10 {
11 /**
12 * Returns true if this filter supports the inclusion of the given resource.
13 *
14 * @param name name of the resource
15 * @return true if the filter includes this resource, false otherwise
16 */
17 boolean matches(String resourceName);
18 }