public class UserSettings
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
UserSettings() |
UserSettings(ContextManager cm,
CallerController callerController) |
UserSettings(Evaluator evaluator) |
| Modifier and Type | Method and Description |
|---|---|
UserSettings |
clone() |
java.text.SimpleDateFormat |
createDateFormatter() |
java.text.SimpleDateFormat |
createDateFormatter(java.lang.String pattern,
java.lang.String timezone) |
void |
fill(ContextManager cm,
CallerController callerController) |
void |
fillActions(ContextManager cm,
CallerController callerController) |
void |
fillBasicProperties(ContextManager cm,
CallerController callerController) |
java.lang.String |
getDatePattern() |
java.lang.String |
getDateTimePattern() |
java.util.List<EntityRelatedActionDescriptor> |
getEventActions() |
java.lang.String |
getTimePattern() |
java.lang.String |
getTimeZone() |
java.util.List<EntityRelatedActionDescriptor> |
getVariableActions() |
int |
getWeekStartDay() |
java.time.ZoneId |
getZoneIdOrDefault() |
boolean |
isInitialized() |
void |
setDatePattern(java.lang.String datePattern) |
void |
setEventActions(java.util.List<EntityRelatedActionDescriptor> eventActions) |
void |
setTimePattern(java.lang.String timePattern) |
void |
setTimeZone(java.lang.String timeZone) |
void |
setVariableActions(java.util.List<EntityRelatedActionDescriptor> variableActions) |
void |
setWeekStartDay(int weekStartDay) |
public UserSettings()
public UserSettings(Evaluator evaluator)
public UserSettings(ContextManager cm, CallerController callerController)
public java.text.SimpleDateFormat createDateFormatter()
public java.text.SimpleDateFormat createDateFormatter(java.lang.String pattern,
java.lang.String timezone)
public java.time.ZoneId getZoneIdOrDefault()
public java.lang.String getDatePattern()
public void setDatePattern(java.lang.String datePattern)
public java.lang.String getTimePattern()
public void setTimePattern(java.lang.String timePattern)
public java.lang.String getDateTimePattern()
public java.lang.String getTimeZone()
public void setTimeZone(java.lang.String timeZone)
public int getWeekStartDay()
public void setWeekStartDay(int weekStartDay)
public java.util.List<EntityRelatedActionDescriptor> getVariableActions()
public void setVariableActions(java.util.List<EntityRelatedActionDescriptor> variableActions)
public java.util.List<EntityRelatedActionDescriptor> getEventActions()
public void setEventActions(java.util.List<EntityRelatedActionDescriptor> eventActions)
public UserSettings clone()
clone in class java.lang.Objectpublic void fill(ContextManager cm, CallerController callerController) throws ContextException, RemoteDeviceErrorException
public void fillBasicProperties(ContextManager cm, CallerController callerController) throws ContextException
ContextExceptionpublic void fillActions(ContextManager cm, CallerController callerController)
public boolean isInitialized()