io.airlift.configuration.Config.value()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(254)

本文整理了Java中io.airlift.configuration.Config.value()方法的一些代码示例,展示了Config.value()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.value()方法的具体详情如下:
包路径:io.airlift.configuration.Config
类名称:Config
方法名:value

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();

相关文章