001 /* 002 * QueueDiscriptor.java 003 * 004 * Created on September 21, 2006, 4:02 PM 005 * 006 * This file is part of the STAR Scheduler. 007 * Copyright (c) 2002-2006 STAR Collaboration - Brookhaven National Laboratory 008 * 009 * STAR Scheduler is free software; you can redistribute it and/or modify 010 * it under the terms of the GNU General Public License as published by 011 * the Free Software Foundation; either version 2 of the License, or 012 * (at your option) any later version. 013 * 014 * STAR Scheduler is distributed in the hope that it will be useful, 015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 017 * GNU General Public License for more details. 018 * 019 * You should have received a copy of the GNU General Public License 020 * along with STAR Scheduler; if not, write to the Free Software 021 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 022 */ 023 024 package gov.bnl.star.offline.scheduler.Dispatchers; 025 026 import gov.bnl.star.offline.scheduler.Dispatcher; 027 028 /** 029 * @deprecated Replaced by GenericCompositeDispatcher 030 * @author lbhajdu 031 */ 032 public interface QueueDiscriptor { 033 034 /** Creates a new instance of QueueDiscriptor */ 035 //public QueueDiscriptor(); 036 037 038 /**The name of the batch system that will run the job. I the case of condorg this will not be the same as the 039 * dispatcher. The name should usable by condorG in the "globusscheduler=" string. It is also usable by reportting 040 * tools as it is a plain name. 041 **/ 042 public String getBatchSystemName(); 043 044 /** The name of the batch system that will run the job. I the case of condorg this will not be the same as the 045 * dispatcher. The name should usable by condorG in the "globusscheduler=" string. It is also usable by reportting 046 * tools as it is a plain name. 047 * 048 * The final QueueDiscriptor class should have this is as the defualt, this function exists in just in case there 049 * is a need to change the defualt value. 050 **/ 051 public void setBatchSystemName(String batchSystemName); 052 053 054 /** Statas what dispatcher classes the class should be used with. 055 * Returns the dispatcher value of (Associated Dispatcher).getClass().toString() **/ 056 public String getAssociatedDispatcherClass(); 057 058 059 060 061 }