1 /* 2 * Copyright (C) 2003-2012 eXo Platform SAS. 3 * 4 * This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU Affero General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU Affero General Public License for more details. 13 * 14 * You should have received a copy of the GNU Affero General Public License 15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17 package org.exoplatform.job; 18 19 import org.quartz.JobExecutionContext; 20 import org.quartz.JobExecutionException; 21 22 /** 23 * Created by The eXo Platform SAS 24 * Author : Canh Pham Van 25 * canhpv@exoplatform.com 26 * Oct 18, 2012 27 */ 28 public class MultiTenancyJobImpl extends MultiTenancyJob{ 29 30 @Override 31 public Class<? extends MultiTenancyTask> getTask() { 32 return ReminderTask.class; 33 } 34 35 public class ReminderTask extends MultiTenancyTask{ 36 37 public ReminderTask(JobExecutionContext context, String repoName) { 38 super(context, repoName); 39 } 40 41 } 42 43 @Override 44 public void execute(JobExecutionContext context) throws JobExecutionException { 45 // TODO Auto-generated method stub 46 super.execute(context); 47 } 48 49 50 }