com.atlassian.bamboo.repository
Class CacheId

java.lang.Object
  extended by com.atlassian.bamboo.repository.CacheId

public class CacheId
extends java.lang.Object

Identifier used for caching method results on Repository classes and its descendants


Constructor Summary
CacheId(Repository repository, java.lang.String... ids)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
static CacheId forContext(CacheId cacheId, java.lang.String context)
           
 java.lang.String getContext()
           
 Repository getRepository()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheId

public CacheId(Repository repository,
               java.lang.String... ids)
Method Detail

forContext

public static CacheId forContext(CacheId cacheId,
                                 @Nullable
                                 java.lang.String context)

getContext

@Nullable
public java.lang.String getContext()

getRepository

public Repository getRepository()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2012 Atlassian. All Rights Reserved.