All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.appcrossings.config.source.ConfigSource Maven / Gradle / Ivy

package com.appcrossings.config.source;

import java.util.Map;
import java.util.Set;

public interface ConfigSource {

  /**
   * Traverses a config tree per the underlying implementation's mechanism.
   * 
   * @param path Path extending the pre-configured uri in the repo definition
   * @return
   */
  public Map get(String path, Set names);

  /**
   * Retrieves a single node of the config given by the properties path. No traversal.
   * 
   * @param path Path extending the pre-configured uri in the repo definition
   * @return
   */
  public Map getRaw(String path);

  public StreamSource getStreamSource();

  public boolean isCompatible(StreamSource source);

  public String getName();


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy