Package org.compiere.server
Class Scheduler
java.lang.Object
org.compiere.server.AdempiereServer
org.compiere.server.Scheduler
- All Implemented Interfaces:
Runnable
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 Summary
Modifier and TypeFieldDescriptionprotected int
protected StringBuffer
Last Summaryprotected Trx
Transactionprotected ProcessInfo
Fields inherited from class org.compiere.server.AdempiereServer
log, m_sleepMS, m_start, p_client, p_model, p_runCount, p_startWork, p_system
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doWork()
Workprotected void
fillParameter
(MPInstance pInstance) Fill Parameterstatic List<ICloudStorage>
findCloudStorage
(Integer COF_ArmazenamentoNuvem_ID, List<File> files) Ticket #5920protected static MScheduler
get
(Properties ctx, int AD_Scheduler_ID) Get MScheduler from cache (immutable)protected int
Get Server Infoprotected String
runProcess
(MProcess process) Run Process or ReportMethods inherited from class org.compiere.server.AdempiereServer
doRun, doRunNow, getCtx, getDateLastRun, getDateNextRun, getDescription, getInitialNap, getLogs, getModel, getName, getSecondsAlive, getServerID, getSleepMS, getStartTime, getStatistics, isInterrupted, isOKtoRunOnIP, isSleeping, recalculateSleepMS, run, runNow, toString
-
Field Details
-
m_summary
Last Summary -
m_trx
Transaction -
AD_Scheduler_ID
protected int AD_Scheduler_ID -
pi
-
-
Constructor Details
-
Scheduler
Scheduler- Parameters:
model
- model
-
-
Method Details
-
doWork
protected void doWork()Work- Specified by:
doWork
in classAdempiereServer
-
runProcess
Run Process or Report- Parameters:
process
- process- Returns:
- summary
- Throws:
Exception
-
getAD_User_ID
protected int getAD_User_ID() -
fillParameter
Fill Parameter- Parameters:
pInstance
- process instance
-
getServerInfo
Get Server Info- Specified by:
getServerInfo
in classAdempiereServer
- Returns:
- info
-
get
Get MScheduler from cache (immutable)- Parameters:
ctx
-AD_Scheduler_ID
-- Returns:
- MScheduler
-
findCloudStorage
public static List<ICloudStorage> findCloudStorage(Integer COF_ArmazenamentoNuvem_ID, List<File> files) Ticket #5920- Parameters:
COF_ArmazenamentoNuvem_ID
-files
-- Returns:
-