public class ActivitySettings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getRefreshDurationMultiplier()
Specify the number of seconds that the system must be idle in order to allow refreshing.
|
int |
getRefreshInterval()
Returns the refresh interval in case the refresh is set to automatic.
|
boolean |
isAutomatic() |
boolean |
isOpenCockpitMonitor()
Returns
true if the Cockpit monitor should be automatically opened. |
boolean |
isOpenNotificationMonitor()
Returns
true if the Notification monitor should be automatically opened. |
boolean |
isOpenProcessFlowMonitor()
Returns
true if the ProcessFlow monitor should be automatically opened. |
boolean |
isOpenScheduleMonitor()
Returns
true if the Schedule monitor should be automatically opened. |
void |
setAutomatic(boolean automatic)
Sets the refresh of the activities to automatic or manual.
|
void |
setOpenCockpitMonitor(boolean openCockpitMonitor)
Defines if a Cockpit monitor should be opened automatically.
|
void |
setOpenNotificationMonitor(boolean openNotificationMonitor)
Defines if a Notification monitor should be opened automatically.
|
void |
setOpenProcessFlowMonitor(boolean openProcessFlowMonitor)
Defines if a ProcessFlow monitor should be opened automatically.
|
void |
setOpenScheduleMonitor(boolean openScheduleMonitor)
Defines if a Schedule monitor should be opened automatically.
|
void |
setRefreshDurationMultiplier(int refreshDurationMultiplier)
Specify the number of seconds that the system must be idle in order to allow refreshing.
|
void |
setRefreshInterval(int refreshInterval)
Sets the refresh interval in seconds for the automatic refresh.
|
public boolean isAutomatic()
public void setAutomatic(boolean automatic)
automatic
- true if refresh should be automatic, false if manualpublic int getRefreshInterval()
-1
if manual refresh is enabledpublic void setRefreshInterval(int refreshInterval)
refreshInterval
- Interval in seconds between 1 and 999public int getRefreshDurationMultiplier()
public void setRefreshDurationMultiplier(int refreshDurationMultiplier)
refreshDurationMultiplier
- Refresh durationpublic boolean isOpenNotificationMonitor()
true
if the Notification monitor should be automatically opened.public void setOpenNotificationMonitor(boolean openNotificationMonitor)
openNotificationMonitor
- true
if the Notification monitor should be automatically opened, false otherwisepublic boolean isOpenProcessFlowMonitor()
true
if the ProcessFlow monitor should be automatically opened.public void setOpenProcessFlowMonitor(boolean openProcessFlowMonitor)
openProcessFlowMonitor
- true
if the ProcessFlow monitor should be automatically opened, false otherwisepublic boolean isOpenScheduleMonitor()
true
if the Schedule monitor should be automatically opened.public void setOpenScheduleMonitor(boolean openScheduleMonitor)
openScheduleMonitor
- true
if the Schedule monitor should be automatically opened, false otherwisepublic boolean isOpenCockpitMonitor()
true
if the Cockpit monitor should be automatically opened.public void setOpenCockpitMonitor(boolean openCockpitMonitor)
openCockpitMonitor
- Open Cockpit monitor?