class DevsoapLicenseExtension extends java.lang.Object
Devsoap license extension
| Modifiers | Name | Description |
|---|---|---|
static class |
DevsoapLicenseExtension.Credential |
| Type | Name and description |
|---|---|
static java.lang.String |
NAME |
java.io.File |
awsCredentialsFile |
java.lang.String |
email |
java.lang.String |
key |
java.io.File |
licenseFile |
| Constructor and description |
|---|
DevsoapLicenseExtension
(org.gradle.api.plugins.ExtensionAware ext)Creates the devsoap extension |
| Type Params | Return Type | Name and description |
|---|---|---|
|
DevsoapLicenseExtension.Credential |
credential(java.lang.String product, java.lang.String email, java.lang.String key, groovy.lang.Closure configure)Set the credentials for a product |
|
java.util.Map<java.lang.String, java.lang.String> |
getAWSCredentials(java.lang.String product)Get the AWS Credentials for a product |
|
java.io.File |
getAwsCredentialsFile()The AWS credentials |
|
DevsoapLicenseExtension.Credential |
getCredential(java.lang.String product)Get credentials for a product |
|
DevsoapLicenseExtension.Credential |
getDefaultCredential() |
|
java.lang.String |
getEmail()The license email |
|
java.lang.String |
getKey()The license key |
|
java.io.File |
getLicenseFile()The license file used to cache licence offline |
|
java.util.List<java.lang.String> |
getProducts()Get products with registrations |
|
void |
setAwsCredentialsFile(java.io.File awsCredentialsFile) |
|
void |
setEmail(java.lang.String email)Set the license email |
|
void |
setKey(java.lang.String key)Set the license key |
|
void |
setLicenseFile(java.io.File licenseFile) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates the devsoap extension
project
- the project to create the extension forSet the credentials for a product
product
- the product to set credentials foremail
- the email addresskey
- the keyGet the AWS Credentials for a product
product
- the productThe AWS credentials
Get credentials for a product @return
The license email
The license key
The license file used to cache licence offline
Get products with registrations
Set the license email
email
- The email address you registered the product withSet the license key
key
- the license key you recieved via registrationGroovy Documentation