psdi.app.inspection

Class AssistVoiceCronTask

    • Field Detail

      • logger

        protected static final MXLogger logger
    • Constructor Detail

      • AssistVoiceCronTask

        public AssistVoiceCronTask()
        1. Query out all UNUSED inspection forms by below condition: The Inspection Form is enabled voice inspection feature AND The Inspection Form is in "Revised" status AND Not found uncompleted Inspection Result belong to this Inspection Form 2. Call Assist API to undeploy these UNUSED inspection forms.
    • Method Detail

      • cronAction

        public void cronAction()
                        throws java.lang.Exception
        Description copied from class: SimpleCronTask
        This is the CORE METHOD of this class. You should invoke whatever logic you want your CronTask to perform from this method. This method should
        1. check the shutdown variable before invoking any processing logic.
        2. call resetErrorCount() if processing proceeds w/out error.
        3. call incErrorCount() if a serious error occurs during the processing logic.
        Specified by:
        cronAction in interface CronTask
        Specified by:
        cronAction in class SimpleCronTask
        Throws:
        java.lang.Exception