com.ibm.tivoli.maximo.skd.optimization

Class ODMECronTask

    • Constructor Detail

      • ODMECronTask

        public ODMECronTask()
    • Method Detail

      • cronAction

        public void cronAction()
        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
      • getParam

        public java.lang.String[] getParam()
                                    throws java.rmi.RemoteException,
                                           MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getProject

        public SKDProject getProject(java.lang.String[] projectAndScenario)
                              throws java.rmi.RemoteException,
                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • setODMEName

        public void setODMEName(java.lang.String name)
      • setRefreshSKDData

        public void setRefreshSKDData(boolean refresh)
      • sendODMEEmail

        public void sendODMEEmail(SKDProject project,
                                  java.util.Date startDate,
                                  java.util.Date endDate,
                                  boolean success)
                           throws java.rmi.RemoteException,
                                  MXException,
                                  javax.mail.MessagingException
        Throws:
        java.rmi.RemoteException
        MXException
        javax.mail.MessagingException
      • sendODMEEmail

        public void sendODMEEmail(SKDProject project,
                                  java.util.Date startDate,
                                  java.util.Date endDate,
                                  boolean success,
                                  java.lang.String sucesscommtemp,
                                  java.lang.String failcommtemp)
                           throws java.rmi.RemoteException,
                                  MXException,
                                  javax.mail.MessagingException
        Throws:
        java.rmi.RemoteException
        MXException
        javax.mail.MessagingException