Class GeneralSubscription


  • public class GeneralSubscription
    extends java.lang.Object
    • Constructor Detail

      • GeneralSubscription

        public GeneralSubscription()
    • Method Detail

      • getCategory

        public Category getCategory()
        Not all categories are supported. Only JOB, JOB_CHAIN, JOB_CONFIG, JOB_RECOVERY, LICENCE, QUEUE, SYSTEM_PARAMETER and null are valid values.
        Returns:
        category
      • setCategory

        public void setCategory​(Category category)
        See getCategory() for valid values.
        Parameters:
        category - for subscription
      • getLevel

        public LogLevel getLevel()
        Not all LEVELS are supported. Only ERROR, WARNING AND INFO are valid values.
        Returns:
        log level
      • setLevel

        public void setLevel​(LogLevel level)
        See getLevel() for valid values.
        Parameters:
        level - log level
      • isActive

        public boolean isActive()
      • setActive

        public void setActive​(boolean active)
      • getJob

        public Job getJob()
      • setJob

        public void setJob​(Job job)
      • getCreatedBy

        public java.lang.String getCreatedBy()
      • setCreatedBy

        public void setCreatedBy​(java.lang.String createdBy)
      • getCreatedDate

        public com.carfey.jdk.lang.DateTime getCreatedDate()
      • setCreatedDate

        public void setCreatedDate​(com.carfey.jdk.lang.DateTime createdDate)
      • withCreatedDate

        public GeneralSubscription withCreatedDate​(com.carfey.jdk.lang.DateTime createdDate)
      • getLastUpdatedBy

        public java.lang.String getLastUpdatedBy()
      • setLastUpdatedBy

        public void setLastUpdatedBy​(java.lang.String lastUpdatedBy)
      • withLastUpdatedBy

        public GeneralSubscription withLastUpdatedBy​(java.lang.String lastUpdatedBy)
      • getLastUpdatedDate

        public com.carfey.jdk.lang.DateTime getLastUpdatedDate()
      • setLastUpdatedDate

        public void setLastUpdatedDate​(com.carfey.jdk.lang.DateTime lastUpdatedDate)
      • withLastUpdatedDate

        public GeneralSubscription withLastUpdatedDate​(com.carfey.jdk.lang.DateTime lastUpdatedDate)
      • appliesToAllJobs

        public boolean appliesToAllJobs()
        Indicates if the subscription applies to all jobs (i.e. not a specific job).
        Returns:
        true if this subscription does not apply to any specific job
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object