Class ScheduledJob
java.lang.Object
com.atlassian.bamboo.admin.scheduler.ScheduledJob
A job which runs via the scheduler.
-
Constructor Summary
ConstructorsConstructorDescriptionScheduledJob(@NotNull String name, @NotNull String groupName, @Nullable Date nextScheduledTime) Deprecated.ScheduledJob(@NotNull org.quartz.JobKey jobKey, Date nextScheduledTime) -
Method Summary
Modifier and TypeMethodDescription@NotNull StringDeprecated.since 5.14 usegetJobKey()insteadorg.quartz.JobKey@NotNull StringgetName()Deprecated.since 5.14 usegetJobKey()instead@Nullable DateGets the next scheduled time the job will run.
-
Constructor Details
-
ScheduledJob
@Deprecated public ScheduledJob(@NotNull @NotNull String name, @NotNull @NotNull String groupName, @Nullable @Nullable Date nextScheduledTime) Deprecated.since 5.14 useScheduledJob(JobKey, Date)insteadParameterized constructor.- Parameters:
name- the name of the jobgroupName- the name of the group the job belongs tonextScheduledTime- the next time the job is scheduled to run
-
ScheduledJob
-
-
Method Details
-
getName
Deprecated.since 5.14 usegetJobKey()insteadGets the name of the job.- Returns:
- the name
-
getGroupName
Deprecated.since 5.14 usegetJobKey()insteadGets the name of the group the job belongs to.- Returns:
- the group name
-
getNextScheduledTime
Gets the next scheduled time the job will run.- Returns:
- the next scheduled time
-
getJobKey
public org.quartz.JobKey getJobKey()
-
ScheduledJob(JobKey, Date)instead