class PackageUpgradeValidator extends NamedLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PackageUpgradeValidator
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PackageUpgradeValidator(cacheConfig: CacheConfigWithSizeOnly, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)
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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- 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
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Definition Classes
- PackageUpgradeValidator → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- 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
- def validateUpgrade(newPackagesToVet: Set[daml.lf.data.Ref.PackageId], targetVettedPackages: Set[daml.lf.data.Ref.PackageId], storedPackageMap: Map[daml.lf.data.Ref.PackageId, PackageSignature])(implicit loggingContext: LoggingContextWithTrace): Either[TopologyManagerError, Unit]
Validate the upgrade-compatibility of the vetted lineages that are affected by a new package to vet.
Validate the upgrade-compatibility of the vetted lineages that are affected by a new package to vet. That is,
- the lineage of the new package itself
- the lineage of each dependency, direct and transitive, of the new package
This validation fails if:
- a dependency is unknown (not in the package store)
- a package claims to be daml-prim or daml-stdlib, but it is not a utility package
- two distinct packages have the same name and version
- a package in the affected lineages is upgrade-incompatible
- newPackagesToVet
new packages to vet
- targetVettedPackages
all packages in the next vetting state, including the new ones
- storedPackageMap
all packages in the package store
- returns
a topology manager error if the validation fails, unit otherwise
- 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()