|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.jtimer.JTimerConfig
public class JTimerConfig
JTimer configuration.
| Nested Class Summary | |
|---|---|
protected static class |
JTimerConfig.JTimerAction
|
protected static class |
JTimerConfig.JTimerOption
|
| Field Summary | |
|---|---|
protected org.nuiton.util.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 Summary | |
|---|---|
JTimerConfig()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int STEP_BEFORE_UI
protected static final int STEP_AFTER_UI
protected org.nuiton.util.ApplicationConfig appConfig
| Constructor Detail |
|---|
public JTimerConfig()
| Method Detail |
|---|
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 week
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||