com.atlassian.jira.rest.client.api.domain
Class EntityHelper.HasFileNamePredicate<T extends Attachment>

java.lang.Object
  extended by com.atlassian.jira.rest.client.api.domain.EntityHelper.HasFileNamePredicate<T>
All Implemented Interfaces:
com.google.common.base.Predicate<T>
Enclosing class:
EntityHelper

public static class EntityHelper.HasFileNamePredicate<T extends Attachment>
extends Object
implements com.google.common.base.Predicate<T>


Method Summary
 boolean apply(T attachment)
           
static
<K extends Attachment>
EntityHelper.HasFileNamePredicate<K>
forFileName(String fileName)
           
 
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
 

Method Detail

forFileName

public static <K extends Attachment> EntityHelper.HasFileNamePredicate<K> forFileName(String fileName)

apply

public boolean apply(T attachment)
Specified by:
apply in interface com.google.common.base.Predicate<T extends Attachment>


Copyright © 2013 Atlassian. All Rights Reserved.