Class LicenseResourceJob

java.lang.Object
com.atlassian.crowd.manager.license.LicenseResourceJob
All Implemented Interfaces:
com.atlassian.scheduler.JobRunner

public class LicenseResourceJob extends Object implements com.atlassian.scheduler.JobRunner
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

    Constructors
    Constructor
    Description
    LicenseResourceJob(CrowdLicenseManager crowdLicenseManager, com.atlassian.event.api.EventPublisher eventPublisher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.scheduler.JobRunnerResponse
    runJob(com.atlassian.scheduler.JobRunnerRequest request)
    Runs the job of notifying the administrator if the current license resource limit is above 90%.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LicenseResourceJob

      public LicenseResourceJob(CrowdLicenseManager crowdLicenseManager, com.atlassian.event.api.EventPublisher eventPublisher)
  • Method Details

    • runJob

      public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
      Runs the job of notifying the administrator if the current license resource limit is above 90%.
      Specified by:
      runJob in interface com.atlassian.scheduler.JobRunner