Codota Logo
SimpleConfigurationMetadataRepository.getAllProperties
Code IndexAdd Codota to your IDE (free)

How to use
getAllProperties
method
in
org.springframework.boot.configurationmetadata.SimpleConfigurationMetadataRepository

Best Java code snippets using org.springframework.boot.configurationmetadata.SimpleConfigurationMetadataRepository.getAllProperties (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: AlexFalappa/nb-springboot

cachedProperties = repo.getAllProperties();
origin: org.apereo.cas/cas-server-core-configuration-metadata-repository

private static SimpleConfigurationMetadataRepository create(final RawConfigurationMetadata metadata) {
  val repository = new SimpleConfigurationMetadataRepository();
  repository.add(metadata.getSources());
  for (val item : metadata.getItems()) {
    val source = getSource(metadata, item);
    repository.add(item, source);
  }
  val allProperties = repository.getAllProperties();
  for (val hint : metadata.getHints()) {
    var property = allProperties.get(hint.getId());
    if (property != null) {
      addValueHints(property, hint);
    } else {
      val id = hint.resolveId();
      property = allProperties.get(id);
      if (property != null) {
        if (hint.isMapKeyHints()) {
          addMapHints(property, hint);
        } else {
          addValueHints(property, hint);
        }
      }
    }
  }
  return repository;
}
origin: org.springframework.boot/spring-boot-configuration-metadata

private SimpleConfigurationMetadataRepository create(
    RawConfigurationMetadata metadata) {
  SimpleConfigurationMetadataRepository repository = new SimpleConfigurationMetadataRepository();
  repository.add(metadata.getSources());
  for (ConfigurationMetadataItem item : metadata.getItems()) {
    ConfigurationMetadataSource source = getSource(metadata, item);
    repository.add(item, source);
  }
  Map<String, ConfigurationMetadataProperty> allProperties = repository
      .getAllProperties();
  for (ConfigurationMetadataHint hint : metadata.getHints()) {
    ConfigurationMetadataProperty property = allProperties.get(hint.getId());
    if (property != null) {
      addValueHints(property, hint);
    }
    else {
      String id = hint.resolveId();
      property = allProperties.get(id);
      if (property != null) {
        if (hint.isMapKeyHints()) {
          addMapHints(property, hint);
        }
        else {
          addValueHints(property, hint);
        }
      }
    }
  }
  return repository;
}
org.springframework.boot.configurationmetadataSimpleConfigurationMetadataRepositorygetAllProperties

Popular methods of SimpleConfigurationMetadataRepository

  • <init>
  • include
    Merge the content of the specified repository to this repository.
  • add
    Add a ConfigurationMetadataProperty with the ConfigurationMetadataSource that defines it, if any.
  • getGroup
  • putIfAbsent

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • orElseThrow (Optional)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now