001: /*
002: * ChainBuilder ESB
003: * Visual Enterprise Integration
004: *
005: * Copyright (C) 2007 Bostech Corporation
006: *
007: * This program is free software; you can redistribute it and/or modify it
008: * under the terms of the GNU General Public License as published by the
009: * Free Software Foundation; either version 2 of the License, or (at your option)
010: * any later version.
011: *
012: * This program is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
014: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
015: * for more details.
016: *
017: * You should have received a copy of the GNU General Public License along with
018: * this program; if not, write to the Free Software Foundation, Inc.,
019: * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020: *
021: *
022: * $Id: JobInfo.java 6905 2007-04-19 03:05:32Z mpreston $
023: */
024: package com.bostechcorp.cbesb.runtime.scheduler;
025:
026: import java.util.Vector;
027: import org.quartz.JobDetail;
028: import org.quartz.CronTrigger;
029:
030: public class JobInfo {
031:
032: private String name;
033: private String group;
034: private Vector<JobDetail> jobDetailList;
035: private Vector<CronTrigger> triggerList;
036:
037: public JobInfo(String name, String group) {
038: this .name = name;
039: this .group = group;
040: jobDetailList = new Vector<JobDetail>();
041: triggerList = new Vector<CronTrigger>();
042: }
043:
044: /**
045: * @return the group
046: */
047: public String getGroup() {
048: return group;
049: }
050:
051: /**
052: * @param group the group to set
053: */
054: public void setGroup(String group) {
055: this .group = group;
056: }
057:
058: /**
059: * @return the name
060: */
061: public String getName() {
062: return name;
063: }
064:
065: /**
066: * @param name the name to set
067: */
068: public void setName(String name) {
069: this .name = name;
070: }
071:
072: /**
073: * @return the jobDetailList
074: */
075: public Vector<JobDetail> getJobDetailList() {
076: return jobDetailList;
077: }
078:
079: /**
080: * @param jobDetailList the jobDetailList to set
081: */
082: public void setJobDetailList(Vector<JobDetail> jobDetailList) {
083: this .jobDetailList = jobDetailList;
084: }
085:
086: /**
087: * @return the triggerList
088: */
089: public Vector<CronTrigger> getTriggerList() {
090: return triggerList;
091: }
092:
093: /**
094: * @param triggerList the triggerList to set
095: */
096: public void setTriggerList(Vector<CronTrigger> triggerList) {
097: this.triggerList = triggerList;
098: }
099:
100: }
|