com.elephantdrummer.classconfig.base.AtConfigBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of drummer Show documentation
Show all versions of drummer Show documentation
Elephant Drummer Java Job Scheduler
The newest version!
package com.elephantdrummer.classconfig.base;
import com.elephantdrummer.annotation.DayOfWeek;
import com.elephantdrummer.annotation.trigger.TimeZoneEnum;
/**
* Copyright 2018 Elephant Software Klaudiusz Wojtkowiak e-mail: [email protected]
*
* 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.
*/
public class AtConfigBase {
private int second=-1;
private int minute=-1;
private int hour=-1;
private int day=0;
private int month=0;
private int year=0;
private DayOfWeek[] dayOfWeek= new DayOfWeek[]{DayOfWeek.ANY};
private TimeZoneEnum timeZone=TimeZoneEnum.DEFAULT;
public int getSecond() {
return second;
}
public void setSecond(int second) {
this.second = second;
}
public int getMinute() {
return minute;
}
public void setMinute(int minute) {
this.minute = minute;
}
public int getHour() {
return hour;
}
public void setHour(int hour) {
this.hour = hour;
}
public int getDay() {
return day;
}
public void setDay(int day) {
this.day = day;
}
public int getMonth() {
return month;
}
public void setMonth(int month) {
this.month = month;
}
public int getYear() {
return year;
}
public void setYear(int year) {
this.year = year;
}
public DayOfWeek[] getDayOfWeek() {
return dayOfWeek;
}
public void setDayOfWeek(DayOfWeek[] dayOfWeek) {
this.dayOfWeek = dayOfWeek;
}
public TimeZoneEnum getTimeZone() {
return timeZone;
}
public void setTimeZone(TimeZoneEnum timeZone) {
this.timeZone = timeZone;
}
}