Package jetbrains.buildServer.vcs.utils
Class VcsCacheItem
- java.lang.Object
-
- jetbrains.buildServer.vcs.utils.VcsCacheItem
-
public class VcsCacheItem extends java.lang.Object
Cached element ofVcsCache
. Extends the class with your value class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VcsCacheItem(long rootId, boolean connectionIsFailed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Method Detail
-
isConnectionFailed
public boolean isConnectionFailed()
Returns true if evaluation of the value failed.- Returns:
- if this value evaluation failed.
-
isExpired
public boolean isExpired()
Returns true if the value should be re-evaluated.- Returns:
- if the value should be re-evaluated.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-