org.statcato.utils
Class SetProjectAutoSaveTimer

java.lang.Object
  extended by org.statcato.utils.SetProjectAutoSaveTimer

public class SetProjectAutoSaveTimer
extends java.lang.Object

Author:
myau

Constructor Summary
SetProjectAutoSaveTimer(Project project, int seconds)
          Constructor.
 
Method Summary
 void setInterval(int seconds)
          Sats the save interval to the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetProjectAutoSaveTimer

public SetProjectAutoSaveTimer(Project project,
                               int seconds)
Constructor.

Parameters:
project - for which the timer is set to auto save
seconds - number of seconds in which the auto save action will be performed
Method Detail

setInterval

public void setInterval(int seconds)
Sats the save interval to the given value. Restarts timer.

Parameters:
seconds - auto save interval in seconds