Record Class CognosSource.InstallVolume
java.lang.Object
java.lang.Record
io.skipcheck.tm1.testcontainers.CognosSource.InstallVolume
- Record Components:
name- the volume's name
- All Implemented Interfaces:
CognosSource
- Enclosing interface:
CognosSource
A named Docker volume holding a Cognos install made by the image's
install
command. Cognos writes into it, so only one container may use it at a time.-
Nested Class Summary
Nested classes/interfaces inherited from interface CognosSource
CognosSource.InstallVolume, CognosSource.PrivateImage, CognosSource.Zip, CognosSource.ZipUrlModifier and TypeInterfaceDescriptionstatic final recordA named Docker volume holding a Cognos install made by the image'sinstallcommand.static final recordAn image built oncognos-serverwith Cognos inside (see the image'sexamples/private-image), from a private registry or only on your machine.static final recordA folder holding IBM'scasrv-*-linuxi38664h.zip, mounted read-only.static final recordA download link for IBM's Cognos repository zip, such as a pre-signed S3 URL. -
Field Summary
Fields inherited from interface CognosSource
INSTALL_VOLUME, PRIVATE_IMAGE, ZIP, ZIP_DIR, ZIP_SHA256, ZIP_URLModifier and TypeFieldDescriptionstatic final StringA Docker volume holding an install, forCognosSource.InstallVolume.static final StringAn image with Cognos built in, forCognosSource.PrivateImage.static final StringThe zip's file name within the zip folder; the newest one if unset.static final StringA folder holding IBM's Cognos repository zip, forCognosSource.Zip.static final StringThe SHA-256 to check theCognosSource.ZIP_URLdownload against; optional.static final StringA download link for IBM's Cognos repository zip, forCognosSource.ZipUrl. -
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.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InstallVolume
Checks the volume name isn't blank.
-
-
Method Details
-
describe
Description copied from interface:CognosSourceA short description for logs and messages. Never includes a URL's query string.- Specified by:
describein interfaceCognosSource- 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). -
name
-