com.groiss.timer
Interface TimerEntry

All Superinterfaces:
Persistent

public interface TimerEntry
extends Persistent

The TimerEntry interface defines the properties of a timer entry. Use the administration tool for manupulating this objects.


Method Summary
 boolean getActive()
          Returns whether the entry is active (action will be executed) or not.
 java.lang.String getArgs()
          Returns the argument for the timer task.
 java.lang.String getClassname()
          Get the classname for the entry.
 java.lang.String getDescription()
           
 java.util.Date getFirstTime()
          Get the first time of scheuling the timer task.
 java.lang.String getId()
          Get the id for the entry
 java.lang.String getPattern()
          Get the period for the entry
 boolean getRunEverywhere()
          Returns whether the entry should be running on each node in a cluster.
 boolean getRunOnStartup()
          Run on startup?
 java.lang.String getThreadId()
          Get the thread-id for the entry
 boolean isActive()
          Returns whether the entry is active.
 void setActive(boolean active)
           
 void setArgs(java.lang.String args)
           
 void setClassname(java.lang.String classname)
           
 void setDescription(java.lang.String desc)
           
 void setFirstTime(java.util.Date d)
           
 void setId(java.lang.String id)
           
 void setPattern(java.lang.String pattern)
           
 void setRunEverywhere(boolean everywhere)
           
 void setRunOnStartup(boolean run)
           
 void setThreadId(java.lang.String id)
           
 
Methods inherited from interface com.groiss.store.Persistent
dbFields, getOid, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore
 

Method Detail

getId

java.lang.String getId()
Get the id for the entry


setId

void setId(java.lang.String id)

getClassname

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


setClassname

void setClassname(java.lang.String classname)

getArgs

java.lang.String getArgs()
Returns the argument for the timer task.


setArgs

void setArgs(java.lang.String args)

getFirstTime

java.util.Date getFirstTime()
Get the first time of scheuling the timer task.


setFirstTime

void setFirstTime(java.util.Date d)

getPattern

java.lang.String getPattern()
Get the period for the entry


setPattern

void setPattern(java.lang.String pattern)

getActive

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


isActive

boolean isActive()
Returns whether the entry is active.


setActive

void setActive(boolean active)

getThreadId

java.lang.String getThreadId()
Get the thread-id for the entry


setThreadId

void setThreadId(java.lang.String id)

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String desc)

getRunOnStartup

boolean getRunOnStartup()
Run on startup?


setRunOnStartup

void setRunOnStartup(boolean run)

getRunEverywhere

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


setRunEverywhere

void setRunEverywhere(boolean everywhere)


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.