public final class JobScheduleConfig extends Object implements Serializable
JobSchedule
,
Serialized FormConstructor and Description |
---|
JobScheduleConfig()
Default no-arg constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getAfterDelay()
Gets the subsequent delay (in minutes) of this job schedule.
|
long |
getInitialDelay()
Gets the initial delay (in minutes) of this job schedule.
|
long |
getInterval()
Gets the interval or period (in minutes) of this job schedule.
|
long |
getJobExecutionId()
Gets the job execution id for this job schedule.
|
String |
getJobName()
Gets the job XML name for this job schedule.
|
Properties |
getJobParameters()
Gets the job parameters for starting the job or restarting the job execution.
|
javax.ejb.ScheduleExpression |
getScheduleExpression()
Gets
javax.ejb.ScheduleExpression for calendar-based job schedule. |
int |
hashCode() |
boolean |
isPersistent()
Gets whether the job schedule is persistent.
|
boolean |
isRepeating()
Determines if this job schedule is repeatable or not.
|
String |
toString() |
public boolean isRepeating()
afterDelay
greater than 0, interval
greater than 0,
or scheduleExpression not null
public String getJobName()
public long getJobExecutionId()
public Properties getJobParameters()
public javax.ejb.ScheduleExpression getScheduleExpression()
javax.ejb.ScheduleExpression
for calendar-based job schedule.public long getInitialDelay()
public long getAfterDelay()
public long getInterval()
afterDelay
specified, the interval is ignored.public boolean isPersistent()
JobScheduler
implementations may not support
persistent schedules.Copyright © 2018 JBoss by Red Hat. All rights reserved.