kz.greetgo.scheduling.trigger.inner_logic.TriggerStructEmpty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.scheduling Show documentation
Show all versions of greetgo.scheduling Show documentation
Scheduler using in greetgo!
The newest version!
package kz.greetgo.scheduling.trigger.inner_logic;
import kz.greetgo.scheduling.trigger.TriggerParseError;
import kz.greetgo.scheduling.trigger.atoms.SilentTrigger;
import java.util.Collections;
import java.util.List;
public class TriggerStructEmpty implements TriggerStruct {
@Override
public Range range() {
return new Range(0, 0);
}
private final Trigger trigger = new SilentTrigger();
@Override
public Trigger trigger() {
return trigger;
}
@Override
public String toString() {
return "EMPTY";
}
@Override
public List errors(Range top, String triggerString) {
return Collections.emptyList();
}
}