Package io.revealbi.core
Class ExportConfiguration
java.lang.Object
io.revealbi.core.ExportConfiguration
Contains configuration settings for dashboard exports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndicates the folder where Chromium will be downloaded.Path to Chromium executable file.Indicates if Chromium instances are created when they are needed, or when application is started.Indicates the time in ms to wait when exporting dashboard is called.Max allowed concurrent Threads for the exporting to image tool (Playwright).Indicates a local zip file containing the sdk js distribution.voidIndicates the folder where Chromium will be downloaded.voidPath to Chromium executable file.voidIndicates if Chromium instances are created when they are needed, or when application is started.voidsetExportingTimeout(Integer value) Indicates the time in ms to wait when exporting dashboard is called.voidMax allowed concurrent Threads for the exporting to image tool (Playwright).voidIndicates a local zip file containing the sdk js distribution.
-
Constructor Details
-
ExportConfiguration
public ExportConfiguration()
-
-
Method Details
-
getProperties
-
getChromiumExecutablePath
Path to Chromium executable file. If not set, the application will use a temporary folder to download chromium and use it from there.- Returns:
- Path to Chromium executable file. If not set, the application will use a temporary folder to download chromium and use it from there.
-
setChromiumExecutablePath
Path to Chromium executable file. If not set, the application will use a temporary folder to download chromium and use it from there.- Parameters:
path- Path to Chromium executable file. If not set, the application will use a temporary folder to download chromium and use it from there.
-
getChromiumDownloadFolder
Indicates the folder where Chromium will be downloaded. The intention of this property is to allow the application to download Chromium automatically if it's not installed. If you already have chromium locally, please usegetChromiumExecutablePath()to indicate the path to the executable file.- Returns:
- Indicates the folder where Chromium will be downloaded. The intention of this property is to allow the application to download Chromium automatically if it's not installed. If you already have chromium locally, please use
getChromiumExecutablePath()to indicate the path to the executable file.
-
setChromiumDownloadFolder
Indicates the folder where Chromium will be downloaded. The intention of this property is to allow the application to download Chromium automatically if it's not installed. If you already have chromium locally, please usegetChromiumExecutablePath()to indicate the path to the executable file.- Parameters:
path- Indicates the folder where Chromium will be downloaded. The intention of this property is to allow the application to download Chromium automatically if it's not installed. If you already have chromium locally, please usegetChromiumExecutablePath()to indicate the path to the executable file.
-
getSdkJsDistributionFile
Indicates a local zip file containing the sdk js distribution. It could be downloaded from https://dl.revealbi.io/reveal/libs/x.x.x/reveal-sdk-distribution-js.zip, where x.x.x is the corresponding version.- Returns:
- Indicates a local zip file containing the sdk js distribution. It could be downloaded from https://dl.revealbi.io/reveal/libs/x.x.x/reveal-sdk-distribution-js.zip, where x.x.x is the corresponding version.
-
setSdkJsDistributionFile
Indicates a local zip file containing the sdk js distribution. It could be downloaded from https://dl.revealbi.io/reveal/libs/x.x.x/reveal-sdk-distribution-js.zip, where x.x.x is the corresponding version.- Parameters:
path- Indicates a local zip file containing the sdk js distribution. It could be downloaded from https://dl.revealbi.io/reveal/libs/x.x.x/reveal-sdk-distribution-js.zip, where x.x.x is the corresponding version.
-
getMaxConcurrentExportingThreads
Max allowed concurrent Threads for the exporting to image tool (Playwright). Default value: 2.- Returns:
- Max allowed concurrent Threads for the exporting to image tool (Playwright). Default value: 2.
-
setMaxConcurrentExportingThreads
Max allowed concurrent Threads for the exporting to image tool (Playwright). Default value: 2.- Parameters:
value- Max allowed concurrent Threads for the exporting to image tool (Playwright). Default value: 2.
-
getCreateChromiumInstancesOnDemand
Indicates if Chromium instances are created when they are needed, or when application is started. Default: true- Returns:
- Indicates if Chromium instances are created when they are needed, or when application is started. Default: true
-
setCreateChromiumInstancesOnDemand
Indicates if Chromium instances are created when they are needed, or when application is started. Default: true- Parameters:
value- Indicates if Chromium instances are created when they are needed, or when application is started. Default: true
-
getExportingTimeout
Indicates the time in ms to wait when exporting dashboard is called. Default value: 30000 ms.- Returns:
- Indicates the time in ms to wait when exporting dashboard is called. Default value: 30000 ms.
-
setExportingTimeout
Indicates the time in ms to wait when exporting dashboard is called. Default value: 30000 ms.- Parameters:
value- Indicates the time in ms to wait when exporting dashboard is called. Default value: 30000 ms.
-