public class CronMinutesEntry extends Object
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 and Description |
---|
CronMinutesEntry(String cronEntry)
Parses the given minute field into this CronMinutesEntry state.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public CronMinutesEntry(String cronEntry)
cronEntry
- the minute field of a cron string.public boolean isValid()
public int getRunOnce()
public int getIncrement()
public boolean hasIncrement()
Copyright © 2002-2024 Atlassian. All Rights Reserved.