本文整理了Java中com.haulmont.cuba.core.config.defaults.Default
类的一些代码示例,展示了Default
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Default
类的具体详情如下:
包路径:com.haulmont.cuba.core.config.defaults.Default
类名称:Default
暂无
代码示例来源:origin: com.haulmont.addon.admintools/cuba-at-global
@Default("22")
public Integer getPort() {
return port;
}
代码示例来源:origin: com.haulmont.cuba/cuba-global
protected String getDefaultValue(Method method) {
Default defaultAnn = method.getAnnotation(Default.class);
if (defaultAnn != null) {
return defaultAnn.value();
代码示例来源:origin: com.haulmont.cuba/cuba-global
Default defaultValue = method.getAnnotation(Default.class);
if (defaultValue != null) {
return defaultValue.value();
} else {
Class<?> type = method.getReturnType();
代码示例来源:origin: com.haulmont.cuba/cuba-web
/**
* @return Default user login to set in the login dialog.
*/
@Property("cuba.web.loginDialogDefaultUser")
@Default("admin")
String getLoginDialogDefaultUser();
代码示例来源:origin: com.haulmont.cuba/cuba-web
/**
* @return Default user password to set in the login dialog.
*/
@Property("cuba.web.loginDialogDefaultPassword")
@Default("admin")
String getLoginDialogDefaultPassword();
代码示例来源:origin: com.haulmont.cuba/cuba-core
/**
* @return Path to the exception report email body template.
*/
@Property("cuba.email.exceptionReportEmailTemplateBody")
@Default("/com/haulmont/cuba/core/app/exceptionemail/exception-report-template-body.gsp")
String getExceptionReportEmailBodyTemplate();
代码示例来源:origin: com.haulmont.cuba/cuba-core
/**
* Default "from" address
*/
@Property("cuba.email.fromAddress")
@Default("DoNotReply@localhost")
String getFromAddress();
代码示例来源:origin: com.haulmont.cuba/cuba-global
/**
* @return response of the HTTP GET request on the health check URL
*/
@Property("cuba.healthCheckResponse")
@Default("ok")
String getHealthCheckResponse();
代码示例来源:origin: com.haulmont.cuba/cuba-web
/**
* @return Theme
*/
@Default("halo")
@Property("cuba.web.theme")
String getAppWindowTheme();
代码示例来源:origin: com.haulmont.cuba/cuba-core
/**
* @return Path to the exception report email subject template.
*/
@Property("cuba.email.exceptionReportEmailTemplateSubject")
@Default("/com/haulmont/cuba/core/app/exceptionemail/exception-report-template-subject.gsp")
String getExceptionReportEmailSubjectTemplate();
代码示例来源:origin: com.haulmont.cuba/cuba-core
/**
* User login used by asynchronous sending mechanism to be able to store information in the database.
*/
@Property("cuba.emailerUserLogin")
@Default("admin")
String getEmailerUserLogin();
}
代码示例来源:origin: de.diedavids.cuba.xero/xero-global
@Override
@Property("xero.appType")
@Default("Public")
String getAppType();
代码示例来源:origin: de.diedavids.cuba.xero/xero-global
@Override
@Property("xero.requestTokenUrl")
@Default("https://api.xero.com/oauth/RequestToken")
String getRequestTokenUrl();
代码示例来源:origin: de.diedavids.cuba.xero/xero-global
@Override
@Property("xero.authorizeUrl")
@Default("https://api.xero.com/oauth/Authorize")
String getAuthorizeUrl();
代码示例来源:origin: de.diedavids.cuba.xero/xero-global
@Override
@Property("xero.userAgent")
@Default("Xero-Java-SDK")
String getUserAgent();
代码示例来源:origin: de.diedavids.cuba.xero/xero-global
@Override
@Property("xero.usingAppFirewall")
@Default("false")
boolean isUsingAppFirewall();
代码示例来源:origin: com.haulmont.cuba/cuba-web
/**
* @return Default main window mode.
* Takes place until the user did not change its own preference through user settings.
*/
@Property("cuba.web.appWindowMode")
@Default("TABBED")
String getAppWindowMode();
代码示例来源:origin: com.haulmont.cuba/cuba-web
/**
* @return GWT widgetset class
*/
@Property("cuba.web.widgetSet")
@Default("com.haulmont.cuba.web.widgets.WidgetSet")
String getWidgetSet();
代码示例来源:origin: com.haulmont.cuba/cuba-core
/**
* SMTP server address.
*/
@Property("cuba.email.smtpHost")
@Default("test.host")
String getSmtpHost();
代码示例来源:origin: com.haulmont.cuba/cuba-core
/**
* Scheduler will process no more than given number of queued messages per every scheduler tick.
*/
@Property("cuba.email.messageQueueCapacity")
@Default("100")
int getMessageQueueCapacity();
内容来源于网络,如有侵权,请联系作者删除!