public class CommonSettingsImpl extends java.lang.Object implements CommonSettings, LangSettings, EngineSettings, EngineSettingsPrivate, SettingsMXBean, ClientAppSettings
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCompileToJava()
Returns true if model is compiled to java.
|
CreateProcessLog |
getCreateProcessLog()
Returns enum value that determines creation of process logs.
|
java.lang.String |
getGlobalMessage()
Global message set by administrator possibly available to all users on all app screens.
|
long |
getHealthCheckNumberOfEngineLoops()
If the specified number of loops is exceeded it is reported in health check.
|
InterpretationStrategy |
getInterpretationStrategy()
Returns interpreter strategy.
|
long |
getLicenseReloadIntervalMinutes()
License stored in the DB is loaded to the cache.
|
int |
getLineOfExpressionLoggedAtException()
Returns number of lines of an expression before and after a problem logged in exception.
|
long |
getMaxNumberOfEngineLoops()
If specified the engine can execute only the specified number of loops.
|
int |
getTimerInterval()
Gets minimal interval for time events.
|
long |
getUserActivityTrackingTimeout()
Returns timeout in milliseconds for tracking of users.
|
static void |
init(SettingDao settingDao)
Initialize cache
|
boolean |
isConfirmModelUpload()
Indicates if the user should be asked for confirmation prior to uploading
a model to the server.
|
boolean |
isCutLongStrings()
Returns true if strings longer that defined in database are cut.
|
boolean |
isDumpModelInstanceOnException()
Returns true if model instance should be dumped if exception occurs.
|
boolean |
isReplaceUnsupportedXMLCharacters()
Returns true if unsupported xml characters can are replaced.
|
boolean |
isSkipLicenseCheck()
For some special cases we need to be able skip license check.
|
boolean |
isSsoEnabled()
Returns true if SSO is enabled.
|
boolean |
isUserActivityTracked()
Returns true if tracking of active users is on.
|
void |
setCompileToJava(boolean compileToJava)
Sets value that determines whether model is compiled to java.
|
void |
setConfirmModelUpload(boolean value)
Sets the settings for requiring confirmation prior to uploading a model.
|
void |
setCreateProcessLog(CreateProcessLog createProcessLog)
Sets value that determines creation of process logs.
|
void |
setCutLongStrings(boolean cutLongStrings)
Sets settings for cutting of strings longer that defined in database.
|
void |
setDumpModelInstanceOnException(boolean dumpModelInstanceOnException)
Sets settings for dumping of model instance state if exception occurs.
|
void |
setHealthCheckNumberOfEngineLoops(long num) |
void |
setIsUserActivityTracked(boolean isUserActivityTracked) |
void |
setLicenseReloadIntervalMinutes(long licenseReloadIntervalMinutes) |
void |
setLineOfExpressionLoggedAtException(int lineOfExpressionLoggedAtException)
Sets number of lines of an expression before and after a problem logged in exception.
|
void |
setMaxNumberOfEngineLoops(long num) |
void |
setReplaceUnsupportedXMLCharacters(boolean isReplaceUnsupportedXMLCharacters)
Sets settings for replacing of unsupported xml characters.
|
void |
setSkipLicenseCheck(boolean skipLicenseCheck) |
void |
setSsoEnabled(boolean ssoEnabled) |
void |
setTimerInterval(int integer)
Sets minimal interval for time events.
|
void |
setUserActivityTrackingTimeout(long userActivityTrackingTimeout) |
public static void init(SettingDao settingDao)
settingDao - public InterpretationStrategy getInterpretationStrategy()
getInterpretationStrategy in interface EngineSettingspublic boolean isDumpModelInstanceOnException()
isDumpModelInstanceOnException in interface EngineSettingspublic void setDumpModelInstanceOnException(boolean dumpModelInstanceOnException)
setDumpModelInstanceOnException in interface EngineSettingsdumpModelInstanceOnException - public int getLineOfExpressionLoggedAtException()
getLineOfExpressionLoggedAtException in interface LangSettingspublic void setLineOfExpressionLoggedAtException(int lineOfExpressionLoggedAtException)
setLineOfExpressionLoggedAtException in interface LangSettingslineOfExpressionLoggedAtException - public CreateProcessLog getCreateProcessLog()
EngineSettingsgetCreateProcessLog in interface EngineSettingspublic void setCreateProcessLog(CreateProcessLog createProcessLog)
EngineSettingssetCreateProcessLog in interface EngineSettingspublic boolean isCutLongStrings()
isCutLongStrings in interface EngineSettingspublic void setCutLongStrings(boolean cutLongStrings)
setCutLongStrings in interface EngineSettingscutLongStrings - public boolean isReplaceUnsupportedXMLCharacters()
EngineSettingsisReplaceUnsupportedXMLCharacters in interface EngineSettingspublic void setReplaceUnsupportedXMLCharacters(boolean isReplaceUnsupportedXMLCharacters)
EngineSettingssetReplaceUnsupportedXMLCharacters in interface EngineSettingspublic boolean isConfirmModelUpload()
EngineSettingsisConfirmModelUpload in interface EngineSettingstrue if confirmation should be required; otherwise false.public void setConfirmModelUpload(boolean value)
EngineSettingssetConfirmModelUpload in interface EngineSettingsvalue - the setting valuepublic int getTimerInterval()
EngineSettingsgetTimerInterval in interface EngineSettingspublic void setTimerInterval(int integer)
EngineSettingssetTimerInterval in interface EngineSettingspublic boolean getCompileToJava()
EngineSettingsPrivategetCompileToJava in interface EngineSettingsPrivatepublic void setCompileToJava(boolean compileToJava)
EngineSettingsPrivatesetCompileToJava in interface EngineSettingsPrivatepublic boolean isUserActivityTracked()
EngineSettingsisUserActivityTracked in interface EngineSettingspublic void setIsUserActivityTracked(boolean isUserActivityTracked)
public long getUserActivityTrackingTimeout()
EngineSettingsgetUserActivityTrackingTimeout in interface EngineSettingspublic void setUserActivityTrackingTimeout(long userActivityTrackingTimeout)
public boolean isSsoEnabled()
EngineSettingsisSsoEnabled in interface EngineSettingspublic void setSsoEnabled(boolean ssoEnabled)
public long getMaxNumberOfEngineLoops()
EngineSettingsLspsRuntimeException is thrown.getMaxNumberOfEngineLoops in interface EngineSettingspublic void setMaxNumberOfEngineLoops(long num)
public long getHealthCheckNumberOfEngineLoops()
EngineSettingsgetHealthCheckNumberOfEngineLoops in interface EngineSettingspublic void setHealthCheckNumberOfEngineLoops(long num)
public long getLicenseReloadIntervalMinutes()
ClientAppSettingsgetLicenseReloadIntervalMinutes in interface ClientAppSettingspublic void setLicenseReloadIntervalMinutes(long licenseReloadIntervalMinutes)
public boolean isSkipLicenseCheck()
ClientAppSettingsisSkipLicenseCheck in interface ClientAppSettingspublic void setSkipLicenseCheck(boolean skipLicenseCheck)
public java.lang.String getGlobalMessage()
ClientAppSettingsgetGlobalMessage in interface ClientAppSettingsCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.