Record Class Tm1Source.BundleUrl
java.lang.Object
java.lang.Record
io.skipcheck.tm1.testcontainers.Tm1Source.BundleUrl
- Record Components:
url- the link to download the bundle fromsha256- the bundle's SHA-256, checked before installing;nullto skip
- All Implemented Interfaces:
Tm1Source
- Enclosing interface:
Tm1Source
public static record Tm1Source.BundleUrl(URI url, @Nullable String sha256)
extends Record
implements Tm1Source
A download link for IBM's bundle, such as a pre-signed S3, R2 or GCS URL. Links can
carry credentials in the query string (pre-signed links) or the user-info part
(
https://user:token@host/..., common with artifact repositories), so
neither is ever logged.-
Nested Class Summary
Nested classes/interfaces inherited from interface Tm1Source
Tm1Source.Bundle, Tm1Source.BundleUrl, Tm1Source.InstallDir, Tm1Source.InstallVolume, Tm1Source.PrivateImageModifier and TypeInterfaceDescriptionstatic final recordA folder holding IBM'stm1server-*-linuxi38664h_bundle.tar.gz, mounted read-only.static final recordA download link for IBM's bundle, such as a pre-signed S3, R2 or GCS URL.static final recordAn installedtm1_64folder, the one containingbin64/tm1s.exe.static final recordA named Docker volume holding a TM1 install, such as the one thetm1-servercompose setup creates (tm1_tm1-install).static final recordAn image built ontm1-serverwith TM1 inside, from a private registry. -
Field Summary
Fields inherited from interface Tm1Source
BUNDLE, BUNDLE_DIR, BUNDLE_SHA256, BUNDLE_URL, HOME_DIR, INSTALL_VOLUME, PRIVATE_IMAGEModifier and TypeFieldDescriptionstatic final StringThe bundle's file name withinTm1Source.BUNDLE_DIR; the newest one if unset.static final StringA folder holding IBM's bundle, forTm1Source.Bundle.static final StringThe SHA-256 to check theTm1Source.BUNDLE_URLdownload against; optional.static final StringA download link for IBM's bundle, forTm1Source.BundleUrl.static final StringAn installedtm1_64folder, forTm1Source.InstallDir.static final StringA Docker volume holding an install, forTm1Source.InstallVolume.static final StringSettings read byTm1Source.discover(), in the order they're tried. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()A short description for logs and messages.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable Stringsha256()Returns the value of thesha256record component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
BundleUrl
-
-
Method Details
-
describe
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
url
-
sha256
-