com.atlassian.jira.issue.thumbnail
Class AdaptiveThresholdPredicate
java.lang.Object
com.atlassian.jira.issue.thumbnail.AdaptiveThresholdPredicate
- All Implemented Interfaces:
- com.google.common.base.Predicate<Dimensions>
public class AdaptiveThresholdPredicate
- extends Object
- implements com.google.common.base.Predicate<Dimensions>
Decides the allowed image size based on free memory.
This code was taken originally from our friends in Confluence
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
AdaptiveThresholdPredicate
public AdaptiveThresholdPredicate()
apply
public boolean apply(Dimensions input)
- Specified by:
apply
in interface com.google.common.base.Predicate<Dimensions>
Copyright © 2002-2012 Atlassian. All Rights Reserved.