Class Calendar

  • All Implemented Interfaces:
    ToXContent, ToXContentObject

    public class Calendar
    extends java.lang.Object
    implements ToXContentObject
    A simple calendar object for scheduled (special) events. The calendar consists of a name an a list of job Ids or job groups the events are stored separately and reference the calendar.
    • Constructor Detail

      • Calendar

        public Calendar​(java.lang.String id,
                        java.util.List<java.lang.String> jobIds,
                        @Nullable
                        java.lang.String description)
        jobIds can be a mix of job groups and job Ids
        Parameters:
        id - The calendar Id
        jobIds - List of job Ids or job groups
        description - An optional description
    • Method Detail

      • getId

        public java.lang.String getId()
      • getJobIds

        public java.util.List<java.lang.String> getJobIds()
      • getDescription

        @Nullable
        public java.lang.String getDescription()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object