|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.universaldevices.device.model.SystemOptions
public class SystemOptions
This class represents SystemOptions for the system (ISY).
Field Summary | |
---|---|
boolean |
compactEmail
Whether or not ISY sends compact e-mail notifications. |
int |
htmlRole
Role of the html interface 1 - Read only 2 - Basic 3 - Advanced 4 - Admin |
boolean |
isNTPActive
Whether or not NTP is active |
int |
ntpCheckInterval
NTP check Interval in seconds |
boolean |
ntpEnabled
Whether or not NTP is enabled |
java.lang.String |
ntpHost
NTP Host |
boolean |
programCatchUp
Whether or not ISY catches up all programs upon reboot |
int |
programGracePeriod
The grace period during which time a schedule is still considered true |
boolean |
queryOnInit
Whether or not ISY should query the system at restart |
java.lang.String |
to
A list of addresses to which notifications are sent |
boolean |
waitBusy
Whether or not we should wait while ISY is reading |
Constructor Summary | |
---|---|
SystemOptions(java.lang.String conf)
Constructor |
|
SystemOptions(java.lang.String to,
boolean compactEmail,
boolean queryOnInit,
boolean waitBusy,
boolean programCatchUp,
int programGracePeriod,
int htmlRole)
Constructor |
|
SystemOptions(java.lang.String ntpHost,
int ntpCheckInterval,
boolean ntpEnabled)
Constructor |
Method Summary | |
---|---|
boolean |
equals(SystemOptions nc)
Tests for equality |
java.lang.StringBuffer |
toDIML()
Converts this object to its DIML/XML counterpart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String to
A comma delimited list of email/sms addresses
to which notifications shall be sent
defaults to null
public int htmlRole
Default is Basic
public boolean compactEmail
Default is false
public boolean queryOnInit
Default is false
public boolean waitBusy
public boolean programCatchUp
Default is true
public int programGracePeriod
public java.lang.String ntpHost
public boolean isNTPActive
public boolean ntpEnabled
public int ntpCheckInterval
Constructor Detail |
---|
public SystemOptions(java.lang.String conf)
Creates a SystemOptions
object from the
DIML/XML representation as returned by the system (ISY).
Note: this constructor is called by
UD Network and Services Layer and, as such, should not be invoked
independently
conf
- - the XML/UDML representation of SystemOptionspublic SystemOptions(java.lang.String to, boolean compactEmail, boolean queryOnInit, boolean waitBusy, boolean programCatchUp, int programGracePeriod, int htmlRole)
Creates a SystemOptions
object from
the given parameters
to
- - a comma delimited list of email/sms addresses to which
the notifications are sentcompactEmail
- - whether or not ISY should send full or compact
e-mail notificationsqueryOnInit
- - whether or not ISY should query all devices upon
RestartprogramCatchUp
- - whether or not ISY should catchup with all
programs upon rebootprogramGracePeriod
- - the period during which ISY considers a
schedule still validhtmlRole
- - what level of role does the HTML user have
public SystemOptions(java.lang.String ntpHost, int ntpCheckInterval, boolean ntpEnabled)
Creates a SystemOptions
object from
the given parameters for saving NTP settings
ntpHost
- - the NTP server URLntpCheckInterval
- - the interval (in seconds) to synch with NTPntpEnabled
- - whether or not ntp is enabled
schedule still valid
Method Detail |
---|
public java.lang.StringBuffer toDIML()
public boolean equals(SystemOptions nc)
Returns whether or not this object is equal to the given parameter
nc
- - the other NotificationConfiguration
which
is checked for equality
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |