jetbrains.buildServer.vcs.utils
Class VcsCacheItem

java.lang.Object
  extended by jetbrains.buildServer.vcs.utils.VcsCacheItem

public class VcsCacheItem
extends java.lang.Object

Cached element of VcsCache. Extends the class with your value class.


Constructor Summary
protected VcsCacheItem(long rootId, boolean connectionIsFailed)
           
 
Method Summary
 boolean isConnectionFailed()
          Returns true if evaluation of the value failed.
 boolean isExpired()
          Returns true if the value should be re-evaluated.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VcsCacheItem

protected VcsCacheItem(long rootId,
                       boolean connectionIsFailed)
Parameters:
rootId - vcs root id.
connectionIsFailed - if getting the value process failed.
Method Detail

isConnectionFailed

public boolean isConnectionFailed()
Returns true if evaluation of the value failed.

Returns:
if this value evaluetion failed.

isExpired

public boolean isExpired()
Returns true if the value should be re-evaluated.

Returns:
if the value should be re-evalueted.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object