org.chorem.jtimer
Class JTimerConfig

java.lang.Object
  extended by org.chorem.jtimer.JTimerConfig

public class JTimerConfig
extends Object

JTimer configuration.

Version:
$Revision: 2825 $ Last update : $Date: 2012-03-15 11:41:39 +0100 (Thu, 15 Mar 2012) $ By : $Author: echatellier $
Author:
chatellier

Nested Class Summary
static class JTimerConfig.JTimerOption
           
 
Field Summary
protected  org.nuiton.util.ApplicationConfig appConfig
           
 
Constructor Summary
JTimerConfig()
           
 
Method Summary
 long getIdleTime()
          Return user idle time threshold in seconds.
 long getIOSaverAutoSaveDelay()
          Return auto save delay in seconds.
 Class getIOSaverClass()
           
 String getIOSaverDirectory()
           
 int getReportFirstDayOfWeek()
          Return first day of week.
 Class getServiceClass()
           
 String getServiceEndpoint()
           
 String getServiceResource()
           
 boolean isCloseToSystray()
          Get close to systray option.
 boolean isShowClosed()
          Show closed project on main ui tree.
 void parse(String... args)
           
 void setCloseToSystray(boolean closeToSystray)
          Set close to systray option
 void setReportFirstDayOfWeek(int firstDayOfWeek)
          Report first day of week.
 void setShowClosed(boolean showClosed)
          Set show closed option.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appConfig

protected org.nuiton.util.ApplicationConfig appConfig
Constructor Detail

JTimerConfig

public JTimerConfig()
Method Detail

parse

public void parse(String... args)

getServiceClass

public Class getServiceClass()

getServiceEndpoint

public String getServiceEndpoint()

getServiceResource

public String getServiceResource()

getIOSaverClass

public Class getIOSaverClass()

getIOSaverDirectory

public String getIOSaverDirectory()

getIOSaverAutoSaveDelay

public long getIOSaverAutoSaveDelay()
Return auto save delay in seconds.

Returns:
auto save delay

getIdleTime

public long getIdleTime()
Return user idle time threshold in seconds.

Returns:
idle time threshold

isShowClosed

public boolean isShowClosed()
Show closed project on main ui tree.

Returns:
show closed project

setShowClosed

public void setShowClosed(boolean showClosed)
Set show closed option.

Parameters:
showClosed - show closed

isCloseToSystray

public boolean isCloseToSystray()
Get close to systray option.

Returns:
close to systray

setCloseToSystray

public void setCloseToSystray(boolean closeToSystray)
Set close to systray option

Parameters:
closeToSystray - close to systray

getReportFirstDayOfWeek

public int getReportFirstDayOfWeek()
Return first day of week. Default to -1 (no preference).

Returns:
first day of week in report

setReportFirstDayOfWeek

public void setReportFirstDayOfWeek(int firstDayOfWeek)
Report first day of week.

Parameters:
firstDayOfWeek - first day of week


Copyright © 2007-2012 CodeLutin. All Rights Reserved.