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 Details

    • m_summary

      protected StringBuffer m_summary
      Last Summary
    • m_trx

      protected Trx m_trx
      Transaction
    • AD_Scheduler_ID

      protected int AD_Scheduler_ID
    • pi

      protected ProcessInfo pi
  • Constructor Details

    • Scheduler

      public Scheduler(MScheduler model)
      Scheduler
      Parameters:
      model - model
  • Method Details

    • doWork

      protected void doWork()
      Work
      Specified by:
      doWork in class AdempiereServer
    • 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
    • getServerInfo

      public String getServerInfo()
      Get Server Info
      Specified by:
      getServerInfo in class AdempiereServer
      Returns:
      info
    • get

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