Class ScheduleDescriptor

java.lang.Object
com.sas.lsaf.core.AbstractIdentifiable
com.sas.lsaf.schedule.ScheduleDescriptor
All Implemented Interfaces:
Identifiable, Serializable
Direct Known Subclasses:
Schedule

public class ScheduleDescriptor extends AbstractIdentifiable
A lightweight client representation of a schedule. See Schedule for details.
See Also:
  • 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

      public String getName()
      Gets the name of the schedule.
      Returns:
      The name.
    • setName

      public void setName(String name)
      Sets the name of the schedule.
      Parameters:
      name - the name.
    • getDescription

      public String getDescription()
      Gets the description of the schedule.
      Returns:
      The description.
    • setDescription

      public void setDescription(String description)
      Sets the description of the schedule.
      Parameters:
      description - the description.
    • getOwner

      public String getOwner()
      Gets the owner of the schedule.
      Returns:
      The owner.
    • getLastModified

      public Date getLastModified()
      Gets the date on which the schedule was last modified.
      Returns:
      The date on which the schedule was last modified.
    • getSchedulableLabel

      public String getSchedulableLabel()
      Gets the label of the schedule.
      Returns:
      The label of the scheduled.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractIdentifiable
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AbstractIdentifiable
    • toString

      public String toString()
      Overrides:
      toString in class AbstractIdentifiable