class IvyCache extends AnyRef
Provides methods for working at the level of a single jar file with the default Ivy cache.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IvyCache
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cacheJar(moduleID: ModuleID, file: File, lock: Option[GlobalLock], log: Logger): Unit
Caches the given 'file' with the given ID.
Caches the given 'file' with the given ID. It may be retrieved or cleared using this ID.
- def clearCachedJar(id: ModuleID, lock: Option[GlobalLock], log: Logger): Unit
Clears the cache of the jar for the given ID.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val ivyHome: Option[File]
- def lockFile: File
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def retrieveCachedJar(id: ModuleID, toDirectory: File, lock: Option[GlobalLock], log: Logger): File
Copies the cached jar for the given ID to the directory 'toDirectory'.
Copies the cached jar for the given ID to the directory 'toDirectory'. If the jar is not in the cache, NotInCache is thrown.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCachedJar[T](id: ModuleID, lock: Option[GlobalLock], log: Logger)(f: (File) => T): T
Get the location of the cached jar for the given ID in the Ivy cache.
Get the location of the cached jar for the given ID in the Ivy cache. If the jar is not in the cache, NotInCache is thrown .
- def withDefaultCache[T](lock: Option[GlobalLock], log: Logger)(f: (DefaultRepositoryCacheManager) => T): T
Calls the given function with the default Ivy cache.