com.atlassian.confluence.user.crowd
Class CachedOption<T>

java.lang.Object
  extended by com.atlassian.confluence.user.crowd.CachedOption<T>
All Implemented Interfaces:
Serializable

public class CachedOption<T>
extends Object
implements Serializable

Container for caching crowd entities with the option to cache the entity or a representation that entity does not exist.

See Also:
Serialized Form

Constructor Summary
CachedOption(com.atlassian.confluence.user.crowd.CachedOption.Availability availabilty)
           
CachedOption(com.atlassian.confluence.user.crowd.CachedOption.Availability availabilty, T object)
           
 
Method Summary
 com.atlassian.confluence.user.crowd.CachedOption.Availability getAvailabilty()
           
 T getObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedOption

public CachedOption(com.atlassian.confluence.user.crowd.CachedOption.Availability availabilty)

CachedOption

public CachedOption(com.atlassian.confluence.user.crowd.CachedOption.Availability availabilty,
                    T object)
Method Detail

getAvailabilty

public com.atlassian.confluence.user.crowd.CachedOption.Availability getAvailabilty()

getObject

public T getObject()


Copyright © 2003-2012 Atlassian. All Rights Reserved.