@org.osgi.annotation.versioning.ProviderType interface ConfigurationService
Groovy console configuration service.
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract Set<String> |
getEmailRecipients()Get the set of configured email recipients for Groovy script notifications. |
|
abstract long |
getThreadTimeout()Get the thread timeout value in seconds. |
|
abstract boolean |
hasPermission(SlingHttpServletRequest request)Check if the current user has permission to execute Groovy scripts in the console. |
|
abstract boolean |
hasScheduledJobPermission(SlingHttpServletRequest request)Check if the current user has permission to scheduled jobs in the console. |
|
abstract boolean |
isAuditDisabled()Check if auditing is disabled. |
|
abstract boolean |
isAuthor()Check if the service is running on an author instance |
|
abstract boolean |
isDisplayAllAuditRecords()Check if all audit records should be displayed in the History panel. |
|
abstract boolean |
isDistributedExecutionEnabled()Check if distributed execution is enabled. |
|
abstract boolean |
isEmailEnabled()Check if email is enabled. |
Get the set of configured email recipients for Groovy script notifications.
Get the thread timeout value in seconds. Scripts will be interrupted when the timeout value is reached. If zero, no timeout will be enforced.
Check if the current user has permission to execute Groovy scripts in the console.
request - current execution requestCheck if the current user has permission to scheduled jobs in the console.
request - current execution requestCheck if auditing is disabled.
Check if the service is running on an author instance
Check if all audit records should be displayed in the History panel. By default, only records for the current user will be displayed.
Check if distributed execution is enabled. In this way scripts can be replicated and auto executed on replication.
Check if email is enabled.