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 * 030 * Deprecated 031 * @author lbhajdu 032 */ 033 public class QueueDiscriptorBase { 034 035 036 public QueueDiscriptorBase(){} 037 038 039 String gateKeeperMustMatch = null; 040 /**If this is set the gatekeeper name must match this expression in order for this QueueDiscriptor object to be used.**/ 041 public void setGateKeeperMustMatch(String regX){ this.gateKeeperMustMatch = regX; } 042 /**Returns a regular expression that must match the gate keeper in order or this QueueDiscriptor object to be used. **/ 043 public String getGateKeeperMustMatch(){return this.gateKeeperMustMatch; } 044 045 046 String gateKeeperMustNotMatch = null; 047 /**If this is set the gatekeeper must not match the regular expression in order fo this QueueDiscriptor object to be used.**/ 048 public void setGateKeeperMustNotMatch(String regX){ this.gateKeeperMustNotMatch = regX; } 049 /**Returns a regular expression that must -not- match the gate keeper in order or this QueueDiscriptor object to be used. **/ 050 public String getGateKeeperMustNotMatch(){ return this.gateKeeperMustNotMatch; } 051 052 053 String logicalQueueName = null; 054 /**The logical human readable name of the queue. Mostly used for reporttting **/ 055 public String getLogicalQueueName(){ return this.logicalQueueName; } 056 /**The logical human readable name of the queue. Mostly used for reporttting **/ 057 public void setLogicalQueueName(String logicalQueueName){ this.logicalQueueName = logicalQueueName; } 058 059 060 }