Class Resources.TypeFilterPredicate

java.lang.Object
com.atlassian.plugin.Resources.TypeFilterPredicate
All Implemented Interfaces:
Predicate<ResourceDescriptor>
Enclosing class:
Resources

public static class Resources.TypeFilterPredicate extends Object implements Predicate<ResourceDescriptor>
Checks that the ResourceDescriptor has a matching type, this is determined by comparing the ResourceDescriptor.getType() with type supplied to the Constructor of this Predicate. This comparison relies on String.equals(Object).
Since:
added in 5.6.0 as a replacement to the Guava implementation.