com.arsdigita.cms.workflow
Class UnfinishedTaskNotifier

java.lang.Object
  extended byjava.util.TimerTask
      extended bycom.arsdigita.cms.workflow.UnfinishedTaskNotifier
All Implemented Interfaces:
Runnable

public class UnfinishedTaskNotifier
extends TimerTask

A TimerTask that will send notifications to people if a Workflow Task has not been finished in a timely manner.


Constructor Summary
UnfinishedTaskNotifier(ContentSection section, int unfinishedInterval, int notificationInterval, int maxNotifications)
          Create a new UnfinishedTaskNotifier
 
Method Summary
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnfinishedTaskNotifier

public UnfinishedTaskNotifier(ContentSection section,
                              int unfinishedInterval,
                              int notificationInterval,
                              int maxNotifications)
Create a new UnfinishedTaskNotifier

Parameters:
section - The section to send notifications for
unfinishedInterval - How long a Task is idle before we send notifications (in hours)
notificationInterval - How long between sending notifications about the same task (in hours)
maxNotifications - max number of notifications to send about one task
Method Detail

run

public void run()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC