Interface TimerEntry

All Superinterfaces:
Activatable, KeyValuePair<String,String>, Persistent, Serializable

public interface TimerEntry extends Persistent, Activatable
The TimerEntry interface defines the properties of a timer entry. Use the administration tool for manupulating this objects.
  • Method Details

    • getId

      String getId()
      Get the id for the timer entry.
    • setId

      void setId(String id)
    • getClassname

      String getClassname()
      Get the classname for the timer entry. This field contains the name of the class of the timer task which implements what is really done, when this timer entry is scheduled.
    • setClassname

      void setClassname(String classname)
    • getArgs

      String getArgs()
      Returns the argument for the timer entry.
    • setArgs

      void setArgs(String args)
    • getFirstTime

      Date getFirstTime()
      Get the first time of scheuling the timer entry.
    • setFirstTime

      void setFirstTime(Date d)
    • getPattern

      String getPattern()
      Get the period for the timer entry.
    • setPattern

      void setPattern(String pattern)
    • getActive

      boolean getActive()
      Returns whether the timer entry is active (action will be executed) or not.
    • getThreadId

      String getThreadId()
      Get the thread-id for the timer entry.
    • getApplication

      Application getApplication()
      Returns the application of this timer entry.
      Returns:
      the application
    • setThreadId

      void setThreadId(String id)
    • getDescription

      String getDescription()
    • setDescription

      void setDescription(String desc)
    • getRunOnStartup

      boolean getRunOnStartup()
      Run on startup?
    • setRunOnStartup

      void setRunOnStartup(boolean run)
    • getRunEverywhere

      boolean getRunEverywhere()
      Returns whether the timer entry should be running on each node in a cluster.
    • setRunEverywhere

      void setRunEverywhere(boolean everywhere)
    • getNominalScheduleDate

      Date getNominalScheduleDate()
      Get the nominal (original) schedule for a timer run. May be null.
      Returns:
      the nominal schedule for a timer run.
    • getEffectiveScheduleDate

      Date getEffectiveScheduleDate()
      Get the real schedule date of a timer run. May be null.
      Returns:
      the effective schedule date of a timer run.
    • getLastRun

      Date getLastRun()
      Last run (start time) of this timer entry.
      Returns:
      a date object or null
    • getLastRunEnd

      Date getLastRunEnd()
      Last run (end time) of this timer entry.
      Returns:
      a date object or null