Class PropertyEntryGardeningJob

  • All Implemented Interfaces:
    com.atlassian.scheduler.JobRunner

    public class PropertyEntryGardeningJob
    extends Object
    implements com.atlassian.scheduler.JobRunner
    This job runs every month and clean up the redundant property entries in the os_propertyentry table.
    Since:
    6.15.0
    • Field Detail

      • CREATE_BLUEPRINT_PAGE_DRAFT_REQUEST_KEY

        public static final String CREATE_BLUEPRINT_PAGE_DRAFT_REQUEST_KEY
        See Also:
        Constant Field Values
    • Constructor Detail

      • PropertyEntryGardeningJob

        public PropertyEntryGardeningJob​(org.hibernate.SessionFactory sessionFactory,
                                         org.springframework.transaction.PlatformTransactionManager transactionManager)
    • Method Detail

      • runJob

        public @Nullable com.atlassian.scheduler.JobRunnerResponse runJob​(com.atlassian.scheduler.JobRunnerRequest request)
        Specified by:
        runJob in interface com.atlassian.scheduler.JobRunner
      • cleanUp

        public int cleanUp()