public class ScheduleConfig extends Object
Modifier and Type | Field and Description |
---|---|
static long |
INVALID_CONFIG |
static long |
MISSING_CONFIG |
Constructor and Description |
---|
ScheduleConfig(org.eclipse.jgit.lib.Config rc,
String section) |
ScheduleConfig(org.eclipse.jgit.lib.Config rc,
String section,
String subsection) |
ScheduleConfig(org.eclipse.jgit.lib.Config rc,
String section,
String subsection,
String keyInterval,
String keyStartTime) |
Modifier and Type | Method and Description |
---|---|
long |
getInitialDelay()
Milliseconds between constructor invocation and first event time.
|
long |
getInterval()
Number of milliseconds between events.
|
String |
toString() |
public static final long MISSING_CONFIG
public static final long INVALID_CONFIG
public ScheduleConfig(org.eclipse.jgit.lib.Config rc, String section)
public ScheduleConfig(org.eclipse.jgit.lib.Config rc, String section, String subsection)
public long getInitialDelay()
If there is any lag between the constructor invocation and queuing the object into an executor the event will run later, as there is no method to adjust for the scheduling delay.
public long getInterval()