public class RestScheduledJob extends AbstractRestModel
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<ScheduledJob,RestScheduledJob> |
FROM_SCHEDULED_JOB
Deprecated.
since 5.11, use
RestScheduledJob() as function reference |
self
Constructor and Description |
---|
RestScheduledJob()
Default constructor.
|
RestScheduledJob(ScheduledJob scheduledJob)
Copy constructor.
|
RestScheduledJob(String name,
String groupName,
Date nextScheduledTime)
Parameterized constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getGroupName()
Gets the name of the group the job belongs to.
|
String |
getName()
Gets the name of the job.
|
Date |
getNextScheduledTime()
Gets the next scheduled time the job will run.
|
ScheduledJob |
toScheduledJob()
Returns a ScheduledJob representation of the object.
|
getSelf, setSelf
@Deprecated public static com.google.common.base.Function<ScheduledJob,RestScheduledJob> FROM_SCHEDULED_JOB
RestScheduledJob()
as function referencepublic RestScheduledJob()
public RestScheduledJob(@NotNull String name, @NotNull String groupName, @Nullable Date nextScheduledTime)
name
- the name of the jobgroupName
- the name of the group the job belongs tonextScheduledTime
- the next time the job is scheduled to runpublic RestScheduledJob(@NotNull ScheduledJob scheduledJob)
scheduledJob
- the scheduled job to be made a copy of@NotNull public ScheduledJob toScheduledJob()
@NotNull public String getName()
@NotNull public String getGroupName()
@Nullable public Date getNextScheduledTime()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.