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.
 String getArgs()
          Returns the argument for the timer task.
 String getClassname()
          Get the classname for the entry.
 String getDescription()
           
 Date getFirstTime()
          Get the first time of scheuling the timer task.
 String getId()
          Get the id for the entry
 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?
 String getThreadId()
          Get the thread-id for the entry
 boolean isActive()
          Returns whether the entry is active.
 void setActive(boolean active)
           
 void setArgs(String args)
           
 void setClassname(String classname)
           
 void setDescription(String desc)
           
 void setFirstTime(Date d)
           
 void setId(String id)
           
 void setPattern(String pattern)
           
 void setRunEverywhere(boolean everywhere)
           
 void setRunOnStartup(boolean run)
           
 void setThreadId(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

String getId()
Get the id for the entry


setId

void setId(String id)

getClassname

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(String classname)

getArgs

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


setArgs

void setArgs(String args)

getFirstTime

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


setFirstTime

void setFirstTime(Date d)

getPattern

String getPattern()
Get the period for the entry


setPattern

void setPattern(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

String getThreadId()
Get the thread-id for the entry


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 entry should be running on each node in a cluster.


setRunEverywhere

void setRunEverywhere(boolean everywhere)


@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.