Record Class Tm1EngineSource.InstallDir
java.lang.Object
java.lang.Record
io.skipcheck.tm1.testcontainers.Tm1EngineSource.InstallDir
- Record Components:
dir- the install folder; made absolute
- All Implemented Interfaces:
Tm1EngineSource
- Enclosing interface:
Tm1EngineSource
A TM1 v12 install the
tm1-engine image made (install as its
command), as a folder: the one containing bin/tm1sd.exe. Mounted read-only.
An install made by IBM's installer isn't one.-
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
ConstructorsConstructorDescriptionInstallDir(Path dir) Makes the folder absolute and checks it holdsbin/tm1sd.exe. -
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.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InstallDir
Makes the folder absolute and checks it holdsbin/tm1sd.exe.
-
-
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
-