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

org.cattleframework.quartz.QuartzJobInfo Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2018 the original author or authors.
 *
 * 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.cattleframework.quartz;

/**
 * 定时器作业信息
 * 
 * @author orange
 *
 */
public class QuartzJobInfo {

    private boolean cronExpression;

    private TriggerType type;

    private String name;

    private Object value;

    private boolean immediately = false;

    private String[] profile;

    private String enabledProperty;

    private boolean enabledMatchIfMissing = true;

    public boolean isCronExpression() {
	return cronExpression;
    }

    public void setCronExpression(boolean cronExpression) {
	this.cronExpression = cronExpression;
    }

    public TriggerType getType() {
	return type;
    }

    public void setType(TriggerType type) {
	this.type = type;
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public Object getValue() {
	return value;
    }

    public void setValue(Object value) {
	this.value = value;
    }

    public boolean isImmediately() {
	return immediately;
    }

    public void setImmediately(boolean immediately) {
	this.immediately = immediately;
    }

    public String[] getProfile() {
	return profile;
    }

    public void setProfile(String[] profile) {
	this.profile = profile;
    }

    public String getEnabledProperty() {
	return enabledProperty;
    }

    public void setEnabledProperty(String enabledProperty) {
	this.enabledProperty = enabledProperty;
    }

    public boolean isEnabledMatchIfMissing() {
	return enabledMatchIfMissing;
    }

    public void setEnabledMatchIfMissing(boolean enabledMatchIfMissing) {
	this.enabledMatchIfMissing = enabledMatchIfMissing;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy