001 /** 002 * Copyright 2005-2012 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.rice.ksb.messaging.web; 017 018 import org.apache.struts.action.ActionForm; 019 import org.quartz.JobDetail; 020 import org.quartz.Trigger; 021 022 023 /** 024 * Struts form for quartz queue processing 025 * 026 * @author Kuali Rice Team (rice.collab@kuali.org) 027 * 028 */ 029 public class QuartzQueueForm extends ActionForm { 030 031 private static final long serialVersionUID = 4589673941470488079L; 032 033 private String jobName; 034 private String jobGroup; 035 private JobDetail jobDetail; 036 private Trigger trigger; 037 038 public QuartzQueueForm() {} 039 040 public QuartzQueueForm(JobDetail jobDetail, Trigger trigger) { 041 this.jobDetail = jobDetail; 042 this.trigger = trigger; 043 } 044 045 public JobDetail getJobDetail() { 046 return this.jobDetail; 047 } 048 public void setJobDetail(JobDetail jobDetail) { 049 this.jobDetail = jobDetail; 050 } 051 public Trigger getTrigger() { 052 return this.trigger; 053 } 054 public void setTrigger(Trigger trigger) { 055 this.trigger = trigger; 056 } 057 public String getJobGroup() { 058 return this.jobGroup; 059 } 060 public void setJobGroup(String jobGroup) { 061 this.jobGroup = jobGroup; 062 } 063 public String getJobName() { 064 return this.jobName; 065 } 066 public void setJobName(String jobName) { 067 this.jobName = jobName; 068 } 069 }