public class ScheduleDescriptor extends AbstractIdentifiable
Schedule
for details.Modifier and Type | Class and Description |
---|---|
static class |
ScheduleDescriptor.ScheduleStatus
The status of a schedule.
|
Constructor and Description |
---|
ScheduleDescriptor(String id,
String name,
String description,
String owner,
ScheduleDescriptor.ScheduleStatus status,
String schedulableLabel,
Date lastModified)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Gets the description of the schedule.
|
Date |
getLastModified()
Gets the date on which the schedule was last modified.
|
String |
getName()
Gets the name of the schedule.
|
String |
getOwner()
Gets the owner of the schedule.
|
String |
getSchedulableLabel()
Gets the label of the schedule.
|
ScheduleDescriptor.ScheduleStatus |
getStatus()
Gets the status of the schedule.
|
int |
hashCode() |
void |
setDescription(String description)
Sets the description of the schedule.
|
void |
setName(String name)
Sets the name of the schedule.
|
String |
toString() |
getId, getTypeId
public ScheduleDescriptor(String id, String name, String description, String owner, ScheduleDescriptor.ScheduleStatus status, String schedulableLabel, Date lastModified)
id
- the unique identifier of the schedule.name
- the name of the schedule.description
- the description of the schedule.owner
- the owner of the schedule.status
- the status of the schedule.schedulableLabel
- the label of the item (such as a job) that is scheduled.lastModified
- the date on which the schedule was last modified.public ScheduleDescriptor.ScheduleStatus getStatus()
public String getName()
public void setName(String name)
name
- the name.public String getDescription()
public void setDescription(String description)
description
- the description.public String getOwner()
public Date getLastModified()
public String getSchedulableLabel()
public int hashCode()
hashCode
in class AbstractIdentifiable
public boolean equals(Object obj)
equals
in class AbstractIdentifiable
public String toString()
toString
in class AbstractIdentifiable
Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA