📄 cmssetup.java
字号:
}
/** Enables/Disables channel modules_info in the log messages */
public void setLoggingChannelModules_info(String loggingChannelModules_info) {
setExtProperty("log.channel.modules_info", loggingChannelModules_info);
}
/** Indicates if channel modules_info is enabled in the log messages */
public String getLoggingChannelModules_info() {
return this.getExtProperty("log.channel.modules_info");
}
/** Enables/Disables channel modules_critical in the log messages */
public void setLoggingChannelModules_critical(String loggingChannelModules_critical) {
setExtProperty("log.channel.modules_critical", loggingChannelModules_critical);
}
/** Indicates if channel modules_critical is enabled in the log messages */
public String getLoggingChannelModules_critical() {
return this.getExtProperty("log.channel.modules_critical");
}
public String getLoggingFlexCache() {
return this.getExtProperty("log.channel.flex_cache");
}
public void setLoggingFlexCache(String value) {
this.setExtProperty("log.channel.flex_cache", value);
}
public String getLoggingFlexLoader() {
return this.getExtProperty("log.channel.flex_loader");
}
public void setLoggingFlexLoader(String value) {
this.setExtProperty("log.channel.flex_loader", value);
}
public void setElementCache(String elementCache) {
setExtProperty("elementcache.enabled", elementCache);
}
public String getElementCache() {
return this.getExtProperty("elementcache.enabled");
}
public void setElementCacheURI(String elementCacheURI) {
setExtProperty("elementcache.uri", elementCacheURI);
}
public String getElementCacheURI() {
return this.getExtProperty("elementcache.uri");
}
public void setElementCacheElements(String elementCacheElements) {
setExtProperty("elementcache.elements", elementCacheElements);
}
public String getElementCacheElements() {
return this.getExtProperty("elementcache.elements");
}
public void setElementCacheVariants(String elementCacheVariants) {
setExtProperty("elementcache.variants", elementCacheVariants);
}
public String getElementCacheVariants() {
return this.getExtProperty("elementcache.variants");
}
/** Set the fictional mac ethernet address */
public void setEthernetAddress(String ethernetAddress) {
setExtProperty("server.ethernet.address", ethernetAddress);
}
/** Get the fictional mac ethernet address */
public String getEthernetAddress() {
return getExtProperty("server.ethernet.address");
}
/** Set the maximum file upload size */
public void setFileMaxUploadSize(String size) {
setExtProperty("workplace.file.maxuploadsize", size);
}
/** Get the maximum file upload size */
public String getFileMaxUploadSize() {
return getExtProperty("workplace.file.maxuploadsize");
}
public String getDbCreateConStr() {
return this.getDbProperty(this.getResourceBroker() + ".constr");
}
public void setDbCreateConStr(String dbCreateConStr) {
this.setDbProperty(this.getResourceBroker() + ".constr", dbCreateConStr);
}
public String getDbCreateUser() {
return this.getDbProperty(this.getResourceBroker() + ".user");
}
public void setDbCreateUser(String dbCreateUser) {
this.setDbProperty(this.getResourceBroker() + ".user", dbCreateUser);
}
public String getDbCreatePwd() {
return (m_dbCreatePwd != null) ? m_dbCreatePwd : "";
}
public void setDbCreatePwd(String dbCreatePwd) {
m_dbCreatePwd = dbCreatePwd;
}
/** Set the default tablespace when creating a new oracle user */
public void setDbDefaultTablespace(String dbDefaultTablespace) {
this.setDbProperty(this.getResourceBroker() + ".defaultTablespace", dbDefaultTablespace);
}
/** Get the default tablespace when creating a new oracle user */
public String getDbDefaultTablespace() {
return this.getDbProperty(this.getResourceBroker() + ".defaultTablespace");
}
/** Set the temporary tablespace when creating a new oracle user */
public void setDbTemporaryTablespace(String dbTemporaryTablespace) {
this.setDbProperty(this.getResourceBroker() + ".temporaryTablespace", dbTemporaryTablespace);
}
/** Get the temporary tablespace when creating a new oracle user */
public String getDbTemporaryTablespace() {
return this.getDbProperty(this.getResourceBroker() + ".temporaryTablespace");
}
public boolean getWizardEnabled() {
String dummy = this.getExtProperty("wizard.enabled");
return "true".equals(dummy);
}
public void lockWizard() {
setExtProperty("wizard.enabled", "false");
}
public Properties getDbSetupProps() {
return m_DbProperties;
}
public String getDb() {
return m_database;
}
public void setDb(String db) {
m_database = db;
}
public Hashtable getReplacer() {
return m_replacer;
}
public void setReplacer(Hashtable replacer) {
m_replacer = replacer;
}
public String getStaticExport() {
return this.getExtProperty("staticexport.enabled");
}
public void setStaticExport(String staticExport) {
setExtProperty("staticexport.enabled", staticExport);
}
public String getStaticExportPath() {
return this.getExtProperty("staticexport.path");
}
public void setStaticExportPath(String staticExportPath) {
setExtProperty("staticexport.path", staticExportPath);
}
public String getUrlPrefixExport() {
return this.getExtProperty("url_prefix_export");
}
public void setUrlPrefixExport(String urlPrefixExport) {
setExtProperty("url_prefix_export", urlPrefixExport);
}
public String getUrlPrefixHttp() {
return this.getExtProperty("url_prefix_http");
}
public void setUrlPrefixHttp(String urlPrefixHttp) {
setExtProperty("url_prefix_http", urlPrefixHttp);
}
public String getUrlPrefixHttps() {
return this.getExtProperty("url_prefix_https");
}
public void setUrlPrefixHttps(String urlPrefixHttps) {
setExtProperty("url_prefix_https", urlPrefixHttps);
}
public String getUrlPrefixServername() {
return this.getExtProperty("url_prefix_servername");
}
public void setUrlPrefixServername(String urlPrefixServername) {
setExtProperty("url_prefix_servername", urlPrefixServername);
}
public void setFlexCacheEnabled(String value) {
this.setExtProperty("flex.cache.enabled", value);
}
public String getFlexCacheEnabled() {
return this.getExtProperty("flex.cache.enabled");
}
public void setCacheOfflineEnabled(String value) {
this.setExtProperty("flex.cache.offline", value);
}
public String getCacheOfflineEnabled() {
return this.getExtProperty("flex.cache.offline");
}
public void setForceGc(String value) {
this.setExtProperty("flex.cache.forceGC", value);
}
public String getForceGc() {
return this.getExtProperty("flex.cache.forceGC");
}
public void setFilenameTranslationEnabled(String value) {
this.setExtProperty("filename.translation.enabled", value);
}
public String getFilenameTranslationEnabled() {
return this.getExtProperty("filename.translation.enabled");
}
public void setDirectoryTranslationEnabled(String value) {
this.setExtProperty("directory.translation.enabled", value);
}
public String getDirectoryTranslationEnabled() {
return this.getExtProperty("directory.translation.enabled");
}
public void setMaxCacheBytes(String value) {
this.setExtProperty("flex.cache.maxCacheBytes", value);
}
public String getMaxCacheBytes() {
return this.getExtProperty("flex.cache.maxCacheBytes");
}
public void setAvgCacheBytes(String value) {
this.setExtProperty("flex.cache.avgCacheBytes", value);
}
public String getAvgCacheBytes() {
return this.getExtProperty("flex.cache.avgCacheBytes");
}
public void setMaxEntryBytes(String value) {
this.setExtProperty("flex.cache.maxEntryBytes", value);
}
public String getMaxEntryBytes() {
return this.getExtProperty("flex.cache.maxEntryBytes");
}
public void setMaxEntries(String value) {
this.setExtProperty("flex.cache.maxEntries", value);
}
public String getMaxEntries() {
return this.getExtProperty("flex.cache.maxEntries");
}
public void setMaxKeys(String value) {
this.setExtProperty("flex.cache.maxKeys", value);
}
public String getMaxKeys() {
return this.getExtProperty("flex.cache.maxKeys");
}
public void setDirectoryIndexFiles(String value) {
this.setExtProperty("directory.default.files", value);
}
public String getDirectoryIndexFiles() {
Object value = null;
value = m_ExtProperties.get("directory.default.files");
if (value==null) {
// could be null...
return "";
}
if (value instanceof String) {
// ...a string...
return value.toString();
}
// ...or a vector!
Enumeration allIndexFiles = ((Vector)value).elements();
String indexFiles = "";
while (allIndexFiles.hasMoreElements()) {
indexFiles += (String)allIndexFiles.nextElement();
if (allIndexFiles.hasMoreElements()) {
indexFiles += ",";
}
}
return indexFiles;
}
/**
* Over simplistic helper to compare two strings to check radio buttons.
*/
public String isChecked(String value1, String value2) {
if (value1 == null || value2 == null) {
return "";
}
if (value1.trim().equalsIgnoreCase(value2.trim())) {
return "checked";
}
return "";
}
/**
* Returns the defaultContentEncoding.
* @return String
*/
public String getDefaultContentEncoding() {
return this.getExtProperty("defaultContentEncoding");
}
/**
* Sets the defaultContentEncoding.
* @param defaultContentEncoding The defaultContentEncoding to set
*/
public void setDefaultContentEncoding(String defaultContentEncoding) {
this.setExtProperty("defaultContentEncoding", defaultContentEncoding);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -