Class MetaSchedule


  • @Entity
    public class MetaSchedule
    extends AuditableModel
    This object stores the scheduler configuration.
    • Constructor Detail

      • MetaSchedule

        public MetaSchedule()
      • MetaSchedule

        public MetaSchedule​(String name)
    • Method Detail

      • setId

        public void setId​(Long id)
        Specified by:
        setId in class Model
      • getActive

        public Boolean getActive()
      • setActive

        public void setActive​(Boolean active)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getJob

        public String getJob()
      • setJob

        public void setJob​(String job)
      • getCron

        public String getCron()
      • setCron

        public void setCron​(String cron)
      • addParam

        public void addParam​(MetaScheduleParam item)
        Add the given MetaScheduleParam item to the params collection.

        It sets item.schedule = this to ensure the proper relationship.

        Parameters:
        item - the item to add
      • removeParam

        public void removeParam​(MetaScheduleParam item)
        Remove the given MetaScheduleParam item from the params collection.
        Parameters:
        item - the item to remove
      • clearParams

        public void clearParams()
        Clear the params collection.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object