本文整理了Java中io.airlift.configuration.Config.value()
方法的一些代码示例,展示了Config.value()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.value()
方法的具体详情如下:
包路径:io.airlift.configuration.Config
类名称:Config
方法名:value
暂无
代码示例来源:origin: com.teradata.airlift/configuration
if (config.value().isEmpty()) {
problems.addError("@Config method [%s] annotation has an empty value", configMethod.toGenericString());
isValid = false;
isValid = false;
else if (arrayEntry.equals(config.value())) {
problems.addError("@Config property name '%s' appears in @LegacyConfig annotation for method [%s]", config.value(), configMethod.toGenericString());
isValid = false;
代码示例来源:origin: airlift/airlift
if (config.value().isEmpty()) {
problems.addError("@Config method [%s] annotation has an empty value", configMethod.toGenericString());
isValid = false;
isValid = false;
else if (arrayEntry.equals(config.value())) {
problems.addError("@Config property name '%s' appears in @LegacyConfig annotation for method [%s]", config.value(), configMethod.toGenericString());
isValid = false;
代码示例来源:origin: io.airlift/configuration
if (config.value().isEmpty()) {
problems.addError("@Config method [%s] annotation has an empty value", configMethod.toGenericString());
isValid = false;
isValid = false;
else if (arrayEntry.equals(config.value())) {
problems.addError("@Config property name '%s' appears in @LegacyConfig annotation for method [%s]", config.value(), configMethod.toGenericString());
isValid = false;
代码示例来源:origin: io.airlift/configuration
String propertyName = configMethod.getAnnotation(Config.class).value();
final boolean securitySensitive = configMethod.isAnnotationPresent(ConfigSecuritySensitive.class);
代码示例来源:origin: airlift/airlift
String propertyName = configMethod.getAnnotation(Config.class).value();
final boolean securitySensitive = configMethod.isAnnotationPresent(ConfigSecuritySensitive.class);
代码示例来源:origin: com.teradata.airlift/configuration
String propertyName = configMethod.getAnnotation(Config.class).value();
内容来源于网络,如有侵权,请联系作者删除!