Class PreviousExtensionVersion.Builder
- java.lang.Object
-
- com.exasol.extensionmanager.itest.PreviousExtensionVersion.Builder
-
- Enclosing class:
- PreviousExtensionVersion
public static class PreviousExtensionVersion.Builder extends Object
Builder forPreviousExtensionVersioninstances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreviousExtensionVersion.BuilderadapterFileName(String adapterFileName)Set the adapter file name, e.g.PreviousExtensionVersionbuild()Build the instance or return the previously built instance.PreviousExtensionVersion.BuildercurrentVersion(String version)The version currently under development, e.g.PreviousExtensionVersion.BuilderextensionFileName(String extensionFileName)The file number under which the extension JavaScript file is published, e.g.PreviousExtensionVersion.BuilderpreviousVersion(String version)The version of the adapter that was published previously.PreviousExtensionVersion.Builderproject(String project)The project name under which this project is published, e.g.
-
-
-
Method Detail
-
adapterFileName
public PreviousExtensionVersion.Builder adapterFileName(String adapterFileName)
Set the adapter file name, e.g.document-files-virtual-schema-dist-7.3.3-s3-2.6.2.jar.This is optional. If the adapter file name is
null, no adapter file will be downloaded.- Parameters:
adapterFileName- adapter file name- Returns:
thisfor method chaining
-
currentVersion
public PreviousExtensionVersion.Builder currentVersion(String version)
The version currently under development, e.g.2.7.0. This is used to verify that upgrading from the previous version was successful.- Parameters:
version- the current version- Returns:
thisfor method chaining
-
previousVersion
public PreviousExtensionVersion.Builder previousVersion(String version)
The version of the adapter that was published previously. E.g. if the currently developed version specified ascurrentVersion(String)is2.7.0then this could be2.6.0or2.6.2. This version is used to build the download URLs for the extension repository, e.g.https://extensions-internal.exasol.com/com.exasol/$PROJECT/$VERSION/$FILENAME- Parameters:
version- the previous version- Returns:
thisfor method chaining
-
extensionFileName
public PreviousExtensionVersion.Builder extensionFileName(String extensionFileName)
The file number under which the extension JavaScript file is published, e.g.s3-vs-extension.js.- Parameters:
extensionFileName- the extension file name- Returns:
thisfor method chaining
-
project
public PreviousExtensionVersion.Builder project(String project)
The project name under which this project is published, e.g.s3-document-files-virtual-schema. This name is used to build the download URLs for the extension repository, e.g.https://extensions-internal.exasol.com/com.exasol/$PROJECT/$VERSION/$FILENAME.- Parameters:
project- project name in the extension repository- Returns:
thisfor method chaining
-
build
public PreviousExtensionVersion build()
Build the instance or return the previously built instance.- Returns:
- the prepared previous version.
-
-