psdi.app.kpi

Class KPICron

    • Constructor Detail

      • KPICron

        public KPICron()
        Initialiizes the new KPICron
    • Method Detail

      • start

        public void start()
        Initialize the crontask, read in the configuration data and prepare a UserInfo object.
        Specified by:
        start in interface CronTask
        Overrides:
        start in class SimpleCronTask
        See Also:
        CronTask.stop(), startup()
      • cronAction

        public void cronAction()
        Handles the cron action. If Instance to run "ALL" kpis is run then it runs all KPIs that meet following criteria 1. Have a valid SQL 2. Are not real time 3. Dont have a individual cron task associated with them already If instance is for a specfic KPi then it runs and saves that KPI only.
        Specified by:
        cronAction in interface CronTask
        Specified by:
        cronAction in class SimpleCronTask
        See Also:
        CronTask.cronAction()