public class LicenseResourceJob
extends org.springframework.scheduling.quartz.QuartzJobBean
implements org.quartz.StatefulJob
Constructor and Description |
---|
LicenseResourceJob() |
Modifier and Type | Method and Description |
---|---|
protected void |
executeInternal(org.quartz.JobExecutionContext jobExecutionContext)
Runs the job of notifying the administrator if the current license resource limit is above 90%.
|
void |
setCrowdLicenseManager(CrowdLicenseManager crowdLicenseManager)
Sets the license manager which is used to get and set the license information.
|
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
Sets the event manager which is used to trigger server events.
|
void |
setPropertyManager(PropertyManager propertyManager)
Sets the property manager which is used to get the server license.
|
protected void executeInternal(org.quartz.JobExecutionContext jobExecutionContext) throws org.quartz.JobExecutionException
executeInternal
in class org.springframework.scheduling.quartz.QuartzJobBean
jobExecutionContext
- Information about the current event request.org.quartz.JobExecutionException
- A problem occured running the event.public void setPropertyManager(PropertyManager propertyManager)
propertyManager
- Property manager implementation.public void setCrowdLicenseManager(CrowdLicenseManager crowdLicenseManager)
crowdLicenseManager
- License manager implementation.public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
eventPublisher
- Event manager implementation.Copyright © 2013 Atlassian. All Rights Reserved.