public class JTimerConfig extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
JTimerConfig.JTimerAction |
protected static class |
JTimerConfig.JTimerOption |
Modifier and Type | Field and Description |
---|---|
protected org.nuiton.config.ApplicationConfig |
appConfig |
protected static int |
STEP_AFTER_UI
To tag action to be run after ui start.
|
protected static int |
STEP_BEFORE_UI
To tag action to be run before ui start.
|
Constructor and Description |
---|
JTimerConfig() |
Modifier and Type | Method and Description |
---|---|
void |
doAction(int step)
Run command line actions for step.
|
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 |
putObject(Object o)
Put new custom object into app config context.
|
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.
|
protected static final int STEP_BEFORE_UI
protected static final int STEP_AFTER_UI
protected org.nuiton.config.ApplicationConfig appConfig
public void parse(String... args)
public void putObject(Object o)
o
- object valuepublic void doAction(int step)
step
- action steppublic Class getServiceClass()
public String getServiceEndpoint()
public String getServiceResource()
public Class getIOSaverClass()
public String getIOSaverDirectory()
public long getIOSaverAutoSaveDelay()
public long getIdleTime()
public boolean isShowClosed()
public void setShowClosed(boolean showClosed)
showClosed
- show closedpublic boolean isCloseToSystray()
public void setCloseToSystray(boolean closeToSystray)
closeToSystray
- close to systraypublic int getReportFirstDayOfWeek()
-1
(no preference).public void setReportFirstDayOfWeek(int firstDayOfWeek)
firstDayOfWeek
- first day of weekCopyright © 2007–2013 CodeLutin. All rights reserved.