001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019package coldfusion.server; 020 021import java.util.Date; 022import java.util.List; 023 024 025public interface CronService extends Service { 026 027 public abstract void updateTask(String arg0, String arg1, String arg2, 028 String arg3, String arg4, Date arg5, Date arg6, Date arg7, 029 Date arg8, String arg9, boolean arg10, String arg11, String arg12, 030 String arg13, String arg14, String arg15, String arg16, 031 boolean arg17, String arg18, String arg19) throws ServiceException; 032 033 public abstract List listAll(); 034 035 public abstract String list(); 036 037 //public abstract CronTabEntry findTask(String arg0); 038 039 public abstract void deleteTask(String arg0) throws ServiceException; 040 041 public abstract void runCall(String arg0) throws ServiceException; 042 043 public abstract void setLogFlag(boolean arg0) throws ServiceException; 044 045 public abstract boolean getLogFlag(); 046 047 //public abstract void updateTasks(ConfigMap arg0) throws ServiceException; 048 049 public abstract void saveCronEntries(); 050 051}