Class TaskScheduling


  • public class TaskScheduling
    extends Object
    Scheduling configuration for a Task
    Since:
    3.5.0
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • TaskScheduling

        public TaskScheduling​(String taskName)
    • Method Detail

      • getTaskName

        public String getTaskName()
      • getSeconds

        public String getSeconds()
      • setSeconds

        public void setSeconds​(String seconds)
      • getMinutes

        public String getMinutes()
      • getPreviousFireTime

        public Date getPreviousFireTime()
      • setPreviousFireTime

        public void setPreviousFireTime​(Date previousFireTime)
      • setMinutes

        public void setMinutes​(String minutes)
      • getHours

        public String getHours()
      • setHours

        public void setHours​(String hours)
      • getDayOfMonth

        public String getDayOfMonth()
      • setDayOfMonth

        public void setDayOfMonth​(String dayOfMonth)
      • getDayOfWeek

        public String getDayOfWeek()
      • setDayOfWeek

        public void setDayOfWeek​(String dayOfWeek)
      • getMonth

        public String getMonth()
      • setMonth

        public void setMonth​(String month)
      • getMaxLength

        public long getMaxLength()
        The maximum duration expressed in seconds
        Returns:
        the maximpum duration in seconds
      • setMaxLength

        public void setMaxLength​(long maxLength)
      • getNextFireTime

        public Date getNextFireTime()
      • getCronExpression

        public String getCronExpression()
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • getMode

        public String getMode()
      • setMode

        public void setMode​(String mode)
      • getDelay

        public long getDelay()
      • getDelaySeconds

        public long getDelaySeconds()
      • setDelay

        public void setDelay​(long delay)
      • setDelaySeconds

        public void setDelaySeconds​(long delay)
      • getInterval

        public long getInterval()
      • getIntervalSeconds

        public long getIntervalSeconds()
      • setInterval

        public void setInterval​(long interval)
      • setIntervalSeconds

        public void setIntervalSeconds​(long interval)