Class PreviousExtensionVersion
- java.lang.Object
-
- com.exasol.extensionmanager.itest.PreviousExtensionVersion
-
public class PreviousExtensionVersion extends Object
This represents a previous version of an extension.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPreviousExtensionVersion.BuilderBuilder forPreviousExtensionVersioninstances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExtensionId()The the temporary ID of the installed extension.voidinstall()Install this version by callingExtensionManagerClient.install().voidprepare()Prepare this previous version by downloading extension JavaScript definition and the adapter file.voidupgrade()Upgrade the previous version to the current version by callingExtensionManagerClient.upgrade()and verify that it returns the expected versions.
-
-
-
Method Detail
-
prepare
public void prepare()
Prepare this previous version by downloading extension JavaScript definition and the adapter file.
-
install
public void install()
Install this version by callingExtensionManagerClient.install().
-
upgrade
public void upgrade()
Upgrade the previous version to the current version by callingExtensionManagerClient.upgrade()and verify that it returns the expected versions.
-
getExtensionId
public String getExtensionId()
The the temporary ID of the installed extension. This ID will only be valid for the currently running test. The extension definition file will be automatically deleted after the test.- Returns:
- the temporary ID.
-
-