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(@NotNull ScheduledJob scheduledJob)
Copy constructor. 
 | 
RestScheduledJob(@NotNull String name,
                @NotNull String groupName,
                @Nullable Date nextScheduledTime)
Parameterized constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull String | 
getGroupName()
Gets the name of the group the job belongs to. 
 | 
@NotNull String | 
getName()
Gets the name of the job. 
 | 
@Nullable Date | 
getNextScheduledTime()
Gets the next scheduled time the job will run. 
 | 
@NotNull 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
                        @NotNull String name,
                        @NotNull
                        @NotNull String groupName,
                        @Nullable
                        @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
                        @NotNull ScheduledJob scheduledJob)
scheduledJob - the scheduled job to be made a copy of@NotNull public @NotNull ScheduledJob toScheduledJob()
@NotNull public @NotNull String getName()
@NotNull public @NotNull String getGroupName()
@Nullable public @Nullable Date getNextScheduledTime()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.