Record Class Tm1EngineSource.Bundle
java.lang.Object
java.lang.Record
io.skipcheck.tm1.testcontainers.Tm1EngineSource.Bundle
- Record Components:
dir- the folder holding the packagefile- the package's file name withindir, ornullfor the newest one
- All Implemented Interfaces:
Tm1EngineSource
- Enclosing interface:
Tm1EngineSource
public static record Tm1EngineSource.Bundle(Path dir, @Nullable String file)
extends Record
implements Tm1EngineSource
A folder holding IBM's
tm1-v<version>-standalone-linux.tgz, mounted
read-only. The image installs TM1 from it on first start into a shared cache
volume, so later starts are fast. The folder can hold TM1 11, TM1 Web and Cognos
downloads too: each image picks its own.-
Nested Class Summary
Nested classes/interfaces inherited from interface Tm1EngineSource
Tm1EngineSource.Bundle, Tm1EngineSource.BundleUrl, Tm1EngineSource.InstallDir, Tm1EngineSource.InstallVolume, Tm1EngineSource.PrivateImageModifier and TypeInterfaceDescriptionstatic final recordA folder holding IBM'stm1-v<version>-standalone-linux.tgz, mounted read-only.static final recordA download link for IBM's package, such as a pre-signed S3, R2 or GCS URL.static final recordA TM1 v12 install thetm1-engineimage made (installas its command), as a folder: the one containingbin/tm1sd.exe.static final recordA named Docker volume holding an install thetm1-engineimage made.static final recordAn image built ontm1-enginewith TM1 inside, from a private registry. -
Field Summary
Fields inherited from interface Tm1EngineSource
BUNDLE, BUNDLE_DIR, BUNDLE_SHA256, BUNDLE_URL, HOME_DIR, INSTALL_VOLUME, PRIVATE_IMAGEModifier and TypeFieldDescriptionstatic final StringThe package's file name withinTm1EngineSource.BUNDLE_DIR; the newest one if unset.static final StringA folder holding IBM's package, forTm1EngineSource.Bundle.static final StringThe SHA-256 to check theTm1EngineSource.BUNDLE_URLdownload against; optional.static final StringA download link for IBM's package, forTm1EngineSource.BundleUrl.static final StringAn install the image made, as a folder, forTm1EngineSource.InstallDir.static final StringA Docker volume holding an install, forTm1EngineSource.InstallVolume.static final StringSettings read byTm1EngineSource.discover(), in the order they're tried. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()A short description for logs and messages.dir()Returns the value of thedirrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringfile()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Bundle
-
-
Method Details
-
describe
Description copied from interface:Tm1EngineSourceA short description for logs and messages. Never includes a URL's query string.- Specified by:
describein interfaceTm1EngineSource- Returns:
- the description
-
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). -
dir
-
file
-