trait CatalogVersionInfo extends AnyRef
Find version information for a catalog HRN
Please note that this trait is bound to a catalog HRN.
- Alphabetic
- By Inheritance
- CatalogVersionInfo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
dependencies(version: Long): Iterator[VersionDependency]
Fetches the dependencies of this catalog given a version
Fetches the dependencies of this catalog given a version
- version
version of this catalog HRN.
- returns
the dependencies of this catalog for the specified version.
-
abstract
def
latestVersion: Option[Long]
Fetches the latest version of this catalog
Fetches the latest version of this catalog
- returns
the latest version or
None
if no version is available.
-
abstract
def
resolveCompatibleVersions(version: Long, otherHrn: HRN, commonDependencies: Seq[HRN] = Seq.empty): Iterator[Long]
Find the version of a compatible catalog HRN
Find the version of a compatible catalog HRN
Two catalogs (HRN, version) are compatible if the version of all their common dependencies is the same (if there are dependencies that are not shared, these are not taken into account).
The last parameter (
dependentHrns
) can be used to specify the HRNs that have to be present in both catalogs as dependencies.- version
version of this catalog HRN.
- otherHrn
HRN of the compatible catalog.
- commonDependencies
common dependent HRNs of the two catalogs (if a dependency that is not shared is specified, an empty
Seq
will be returned).- returns
a list of
compatibleHrn
catalog versions.
-
abstract
def
resolveDependencyVersion(version: Long, otherHrn: HRN): Option[Long]
Find the version of a catalog in its dependencies
Find the version of a catalog in its dependencies
- version
version of this catalog HRN.
- otherHrn
HRN of a catalog depending on this catalog HRN.
- returns
the version of the catalog depending on this catalog HRN, if available.
Concrete 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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()