Class MSchedule

    • Method Detail

      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Description copied from class: PO
        Called before Save for Pre-Save Operation
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new record
        Returns:
        true if record can be saved
      • isOKtoRunOnIP

        public boolean isOKtoRunOnIP()
        Brought from Compiere Open Source Community version 3.3.0 Is it OK to Run process On IP of this box
        Returns:
      • get

        public static MSchedule get​(int AD_Schedule_ID)
        Get MSchedule from cache (immutable)
        Parameters:
        AD_Schedule_ID -
        Returns:
        MSchedule
      • get

        public static MSchedule get​(Properties ctx,
                                    int AD_Schedule_ID)
        Get MSchedule from cache (immutable)
        Parameters:
        ctx -
        AD_Schedule_ID -
        Returns:
        MSchedule
      • chekIPFormat

        public boolean chekIPFormat​(String ipOnly)
      • getNextRunMS

        public static long getNextRunMS​(long last,
                                        String scheduleType,
                                        String frequencyType,
                                        int frequency,
                                        String cronPattern)
        Get Next Run
        Parameters:
        last - in MS
        Returns:
        next run in MS