Class OLSBackgroundJob


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

      • OLSBackgroundJob

        public OLSBackgroundJob()
      • OLSBackgroundJob

        public OLSBackgroundJob​(java.lang.String jobName,
                                int jobInterval,
                                boolean jobEnabled,
                                java.lang.String jobDefaultValue)
    • Method Detail

      • getJobName

        public java.lang.String getJobName()
        Gets job name.
        Returns:
        the job name
      • setJobName

        public void setJobName​(java.lang.String jobName)
        Sets job name.
        Parameters:
        jobName - the job name
      • getJobInterval

        public int getJobInterval()
        Gets job interval.
        Returns:
        the job interval
      • setJobInterval

        public void setJobInterval​(int jobInterval)
        Sets job interval.
        Parameters:
        jobInterval - the job interval
      • isJobEnabled

        public boolean isJobEnabled()
        Is job enabled.
        Returns:
        if the job is enabled or not
      • setJobEnabled

        public void setJobEnabled​(boolean jobEnabled)
        Sets job enabled value.
        Parameters:
        jobEnabled - true/false for enabling/disabling the job
      • getJobDefaultValue

        public java.lang.String getJobDefaultValue()
        Gets job default value.
        Returns:
        the job default value
      • setJobDefaultValue

        public void setJobDefaultValue​(java.lang.String jobDefaultValue)
        Sets job default value.
        Parameters:
        jobDefaultValue - the job default value
      • toString

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

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

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