Class Scheduler

  • All Implemented Interfaces:
    Runnable

    public class Scheduler
    extends AdempiereServer
    Scheduler
    Version:
    $Id: Scheduler.java,v 1.5 2006/07/30 00:53:33 jjanke Exp $ Contributors: Carlos Ruiz - globalqss - FR [3135351] - Enable Scheduler for buttons
    Author:
    Jorg Janke
    • Field Detail

      • m_trx

        protected Trx m_trx
        Transaction
      • AD_Scheduler_ID

        protected int AD_Scheduler_ID
    • Constructor Detail

      • Scheduler

        public Scheduler​(MScheduler model)
        Scheduler
        Parameters:
        model - model
    • Method Detail

      • runProcess

        protected String runProcess​(MProcess process)
                             throws Exception
        Run Process or Report
        Parameters:
        process - process
        Returns:
        summary
        Throws:
        Exception
      • getAD_User_ID

        protected int getAD_User_ID()
      • fillParameter

        protected void fillParameter​(MPInstance pInstance)
        Fill Parameter
        Parameters:
        pInstance - process instance
      • get

        protected static MScheduler get​(Properties ctx,
                                        int AD_Scheduler_ID)
        Get MScheduler from cache (immutable)
        Parameters:
        ctx -
        AD_Scheduler_ID -
        Returns:
        MScheduler