|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.scheduling.quartz.QuartzJobBean com.atlassian.crowd.license.LicenseResourceJob
public class LicenseResourceJob
System event that runs calculating the total number of resources are being consumed verses the license resource limit. If the system is nearing 90% usage, an email is sent to the administrator.
Constructor Summary | |
---|---|
LicenseResourceJob()
|
Method Summary | |
---|---|
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 |
setEventManager(com.atlassian.event.EventManager eventManager)
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. |
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean |
---|
execute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.quartz.Job |
---|
execute |
Constructor Detail |
---|
public LicenseResourceJob()
Method Detail |
---|
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 setEventManager(com.atlassian.event.EventManager eventManager)
eventManager
- Event manager implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |