All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.quartz.impl.jdbcjobstore.FiredTriggerRecord Maven / Gradle / Ivy

/* 
 * Copyright 2001-2009 Terracotta, Inc. 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
 * use this file except in compliance with the License. You may obtain a copy 
 * of the License at 
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0 
 *   
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 
 * License for the specific language governing permissions and limitations 
 * under the License.
 * 
 */

package org.quartz.impl.jdbcjobstore;

import org.quartz.utils.Key;

/**
 * 

* Conveys the state of a fired-trigger record. *

* * @author James House */ public class FiredTriggerRecord implements java.io.Serializable { /* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Data members. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ private String fireInstanceId; private long fireTimestamp; private String schedulerInstanceId; private Key triggerKey; private String fireInstanceState; private boolean triggerIsVolatile; private Key jobKey; private boolean jobIsStateful; private boolean jobRequestsRecovery; private int priority; /* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Interface. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ public String getFireInstanceId() { return fireInstanceId; } public long getFireTimestamp() { return fireTimestamp; } public boolean isJobIsStateful() { return jobIsStateful; } public Key getJobKey() { return jobKey; } public String getSchedulerInstanceId() { return schedulerInstanceId; } public Key getTriggerKey() { return triggerKey; } public String getFireInstanceState() { return fireInstanceState; } public void setFireInstanceId(String string) { fireInstanceId = string; } public void setFireTimestamp(long l) { fireTimestamp = l; } public void setJobIsStateful(boolean b) { jobIsStateful = b; } public void setJobKey(Key key) { jobKey = key; } public void setSchedulerInstanceId(String string) { schedulerInstanceId = string; } public void setTriggerKey(Key key) { triggerKey = key; } public void setFireInstanceState(String string) { fireInstanceState = string; } public boolean isJobRequestsRecovery() { return jobRequestsRecovery; } public boolean isTriggerIsVolatile() { return triggerIsVolatile; } public void setJobRequestsRecovery(boolean b) { jobRequestsRecovery = b; } public void setTriggerIsVolatile(boolean b) { triggerIsVolatile = b; } public int getPriority() { return priority; } public void setPriority(int priority) { this.priority = priority; } } // EOF




© 2015 - 2024 Weber Informatics LLC | Privacy Policy