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()
      • getPreviousFireTime

        public Date getPreviousFireTime()
      • setPreviousFireTime

        public void setPreviousFireTime​(Date previousFireTime)
      • 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()
      • 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)
      • getCronExpression

        public String getCronExpression()
      • setCronExpression

        public void setCronExpression​(String cronExpression)