◆ equals()
boolean org.turro.scheduler.task.constraints.TaskConstraints.equals |
( |
Object |
obj | ) |
|
Definition at line 99 of file TaskConstraints.java.
106 if (getClass() != obj.getClass()) {
109 final TaskConstraints other = (TaskConstraints) obj;
110 if (!Objects.equals(
this.months, other.months)) {
113 if (!Objects.equals(
this.daysOfMonth, other.daysOfMonth)) {
116 if (!Objects.equals(
this.weekDays, other.weekDays)) {
119 if (!Objects.equals(
this.hours, other.hours)) {
122 return Objects.equals(this.minutes, other.minutes);
◆ getDaysOfMonth()
◆ getHours()
HourConstraint org.turro.scheduler.task.constraints.TaskConstraints.getHours |
( |
| ) |
|
◆ getMinutes()
MinuteConstraint org.turro.scheduler.task.constraints.TaskConstraints.getMinutes |
( |
| ) |
|
◆ getMonths()
MonthConstraint org.turro.scheduler.task.constraints.TaskConstraints.getMonths |
( |
| ) |
|
◆ getWeekDays()
WeekDayConstraint org.turro.scheduler.task.constraints.TaskConstraints.getWeekDays |
( |
| ) |
|
◆ hashCode()
int org.turro.scheduler.task.constraints.TaskConstraints.hashCode |
( |
| ) |
|
Definition at line 88 of file TaskConstraints.java.
90 hash = 37 * hash + Objects.hashCode(this.months);
91 hash = 37 * hash + Objects.hashCode(this.daysOfMonth);
92 hash = 37 * hash + Objects.hashCode(this.weekDays);
93 hash = 37 * hash + Objects.hashCode(this.hours);
94 hash = 37 * hash + Objects.hashCode(this.minutes);
◆ isEmpty()
boolean org.turro.scheduler.task.constraints.TaskConstraints.isEmpty |
( |
| ) |
|
Definition at line 80 of file TaskConstraints.java.
81 return months.isEmpty() && daysOfMonth.isEmpty() &&
82 weekDays.isEmpty() && hours.isEmpty() && minutes.isEmpty();
◆ isValid()
boolean org.turro.scheduler.task.constraints.TaskConstraints.isValid |
( |
Date |
date | ) |
|
Definition at line 56 of file TaskConstraints.java.
60 boolean valid = months.
isValid(date);
61 if(valid) valid = daysOfMonth.
isValid(date);
62 if(valid) valid = weekDays.
isValid(date);
63 if(valid) valid = hours.
isValid(date);
64 if(valid) valid = minutes.
isValid(date);
boolean isValid(Date date)
boolean isValid(Date date)
boolean isValid(Date date)
boolean isValid(Date date)
boolean isValid(Date date)
◆ needsRefresh()
boolean org.turro.scheduler.task.constraints.TaskConstraints.needsRefresh |
( |
| ) |
|
The documentation for this class was generated from the following file: