|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.web.component.cron.parser.CronMinutesEntry
public class CronMinutesEntry
Represents the minutes part of a cron string. This class is responsible for parsing and validating this entry.
The isValid()
method refers only to what is supported by the cron editor for the minutes entry.
Valid minutes include only those that are either: a multiple of 5 between 0 and 55 inclusive; or "0/15" or "0/30" meaning every 15 minutes or every 30 minutes.
Constructor Summary | |
---|---|
CronMinutesEntry(String cronEntry)
Parses the given minute field into this CronMinutesEntry state. |
Method Summary | |
---|---|
int |
getIncrement()
|
int |
getRunOnce()
The minute value for a single fire time. |
boolean |
hasIncrement()
|
boolean |
isValid()
Indicates that the minute field is able to be handled by the editor, concerns both the minute value and the optional increment value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CronMinutesEntry(String cronEntry)
cronEntry
- the minute field of a cron string.Method Detail |
---|
public boolean isValid()
public int getRunOnce()
public int getIncrement()
public boolean hasIncrement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |