Servoy Properties Summary | |
---|---|
String | build |
Date | buildDate |
String | component |
String | licensee |
String | typeLicensed |
Number | version |
String | versionLicensed |
Servoy Methods Summary | |
---|---|
ComputeProvider | newComputeProvider( String ) |
StorageProvider | newStorageProvider( String ) |
Boolean | register( String ) |
Servoy Properties Details |
---|
build
String build
Returns the current version (major, minor, build)Returns
String build String
Supported Clients
SmartClient, WebClient, NGClient
buildDate
Date buildDate
Returns date release dateReturns
Date date Date
Supported Clients
SmartClient, WebClient, NGClient
component
String component
Returns the component nameReturns
String name String
Supported Clients
SmartClient, WebClient, NGClient
licensee
String licensee
Returns the licenseeReturns
String licensee String
Supported Clients
SmartClient, WebClient, NGClient
typeLicensed
String typeLicensed
Returns the type that is valid for this licenseReturns
String type String
Supported Clients
SmartClient, WebClient, NGClient
version
Number version
Returns the current version (major, minor)Returns
Number version Double
Supported Clients
SmartClient, WebClient, NGClient
versionLicensed
String versionLicensed
Returns the version that is valid for this licenseReturns
String license String
Supported Clients
SmartClient, WebClient, NGClient
Servoy Methods Details |
---|
newComputeProvider
ComputeProvider newComputeProvider( String )
Get a new provider instanceParameters
String provider id of provider to connect to. See Providers constants
Returns
ComputeProvider
Supported Clients
SmartClient, WebClient, NGClient
Sample
var provider = plugins.it2be_cloudtools.newComputeProvider(plugins.it2be_cloudtools.COMPUTE_PROVIDERS.AWS);
provider.setCredentials(awsAccessKeyId, awsSecretAccessKeyId);
provider.connect();
var nodes = provider.getNodes();
for(var i=0; i
newStorageProvider
StorageProvider newStorageProvider( String )
Get a new provider instance
Parameters
String provider id of provider to connect to. See Providers constants
Returns
StorageProvider
Supported Clients
SmartClient, WebClient, NGClient
Sample
var provider = plugins.it2be_cloudtools.newStorageProvider(plugins.it2be_cloudtools.STORAGE_PROVIDERS.AZURE);
provider.setCredentials(AccountName, AccountKey);
provider.connect()
var objects = provider.listObjects("my-bucket-name");
for(var i=0; i
register
Boolean register( String )
Register your runtime license (use the Components Manager to request your license string)
Parameters
String license the license
Returns
Boolean result boolean
Supported Clients
SmartClient, WebClient, NGClient
Sample
// You have to register your plug-in(s) and beans before you start using them
// One way to do so is create an 'onOpenSolution' method and add the 'register(.)' method(s) there
plugins.it2be_cloudtools.register("Insert the license string(s) from your '*_runtime_license.txt' file here!");