Package com.brightdata
Class AmazonUpdatePlugin.AmazonUpdatePluginExtension
java.lang.Object
com.brightdata.AmazonUpdatePlugin.AmazonUpdatePluginExtension
- Enclosing class:
- AmazonUpdatePlugin
The extension class for the Amazon Update Plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet access token expiration time in seconds.Get path to the APK file.Get cache directory for access token.Get Amazon Appstore API Client ID.Get Amazon Appstore API Client Secret.Get path to the config file with preset values.Get language for the APK listing.intGet maximum number of retries for API requests.Get release notes for the APK.booleanGet debug flag for API requests.voidsetAccessTokenExpire(int accessTokenExpire) Set access token expiration time in seconds.voidsetApkPath(String apkPath) Set path to the APK file.voidsetCacheDir(File cacheDir) Set cache directory for access token.voidsetClientId(String clientId) Set Amazon Appstore API Client ID.voidsetClientSecret(String clientSecret) Set Amazon Appstore API Client Secret.voidsetConfigPath(String configPath) Set path to the config file with preset values.voidsetLanguage(String language) Set language for the APK listing.voidsetMaxApiRetries(int maxApiRetries) Set maximum number of retries for API requests.voidsetReleaseNotes(String releaseNotes) Set release notes for the APK.voidsetRequestDebug(boolean requestDebug) Set debug flag for API requests.
-
Constructor Details
-
AmazonUpdatePluginExtension
public AmazonUpdatePluginExtension()
-
-
Method Details
-
getConfigPath
Get path to the config file with preset values.- Returns:
- the path to the config file
-
setConfigPath
Set path to the config file with preset values.- Parameters:
configPath- the path to the config file
-
getClientId
Get Amazon Appstore API Client ID.- Returns:
- the client ID value
-
setClientId
Set Amazon Appstore API Client ID.- Parameters:
clientId- the client ID value
-
getClientSecret
Get Amazon Appstore API Client Secret.- Returns:
- the client secret value
-
setClientSecret
Set Amazon Appstore API Client Secret.- Parameters:
clientSecret- the client secret value
-
getReleaseNotes
Get release notes for the APK.- Returns:
- the release notes value
-
setReleaseNotes
Set release notes for the APK.- Parameters:
releaseNotes- the release notes value
-
getApkPath
Get path to the APK file.- Returns:
- the path to the APK file
-
setApkPath
Set path to the APK file.- Parameters:
apkPath- the path to the APK file
-
getLanguage
Get language for the APK listing.- Returns:
- the language value
-
setLanguage
Set language for the APK listing.- Parameters:
language- the language value
-
getCacheDir
Get cache directory for access token.- Returns:
- the cache directory
-
setCacheDir
Set cache directory for access token.- Parameters:
cacheDir- the cache directory
-
getAccessTokenExpire
public int getAccessTokenExpire()Get access token expiration time in seconds.- Returns:
- the expiration time value
-
setAccessTokenExpire
public void setAccessTokenExpire(int accessTokenExpire) Set access token expiration time in seconds.- Parameters:
accessTokenExpire- the expiration time value
-
getMaxApiRetries
public int getMaxApiRetries()Get maximum number of retries for API requests.- Returns:
- the maximum number of retries
-
setMaxApiRetries
public void setMaxApiRetries(int maxApiRetries) Set maximum number of retries for API requests.- Parameters:
maxApiRetries- the maximum number of retries
-
getRequestDebug
public boolean getRequestDebug()Get debug flag for API requests.- Returns:
- the debug flag value
-
setRequestDebug
public void setRequestDebug(boolean requestDebug) Set debug flag for API requests.- Parameters:
requestDebug- the debug flag value
-