Package com.sas.lsaf.schedule
Class ScheduleDescriptor
java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.schedule.ScheduleDescriptor
- All Implemented Interfaces:
Identifiable,Serializable
- Direct Known Subclasses:
Schedule
A lightweight client representation of a schedule. See
Schedule for details.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe status of a schedule. -
Constructor Summary
ConstructorsConstructorDescriptionScheduleDescriptor(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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the description of the schedule.Gets the date on which the schedule was last modified.getName()Gets the name of the schedule.getOwner()Gets the owner of the schedule.Gets the label of the schedule.Gets the status of the schedule.inthashCode()voidsetDescription(String description) Sets the description of the schedule.voidSets the name of the schedule.toString()Methods inherited from class com.sas.lsaf.core.AbstractIdentifiable
getId, getTypeId
-
Constructor Details
-
ScheduleDescriptor
public 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. They should only deal with the schedule descriptors returned by the API.- Parameters:
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.
-
-
Method Details
-
getStatus
Gets the status of the schedule.- Returns:
- The status.
-
getName
Gets the name of the schedule.- Returns:
- The name.
-
setName
Sets the name of the schedule.- Parameters:
name- the name.
-
getDescription
Gets the description of the schedule.- Returns:
- The description.
-
setDescription
Sets the description of the schedule.- Parameters:
description- the description.
-
getOwner
Gets the owner of the schedule.- Returns:
- The owner.
-
getLastModified
Gets the date on which the schedule was last modified.- Returns:
- The date on which the schedule was last modified.
-
getSchedulableLabel
Gets the label of the schedule.- Returns:
- The label of the scheduled.
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractIdentifiable
-
equals
- Overrides:
equalsin classAbstractIdentifiable
-
toString
- Overrides:
toStringin classAbstractIdentifiable
-