Class Config


  • @Evolving
    public class Config
    extends java.lang.Object
    A configuration object containing the configuration entries for a resource.

    The API of this class is evolving, see Admin for details.

    • Constructor Summary

      Constructors 
      Constructor Description
      Config​(java.util.Collection<ConfigEntry> entries)
      Create a configuration instance with the provided entries.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<ConfigEntry> entries()
      Configuration entries for a resource.
      boolean equals​(java.lang.Object o)  
      ConfigEntry get​(java.lang.String name)
      Get the configuration entry with the provided name or null if there isn't one.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Config

        public Config​(java.util.Collection<ConfigEntry> entries)
        Create a configuration instance with the provided entries.
    • Method Detail

      • entries

        public java.util.Collection<ConfigEntry> entries()
        Configuration entries for a resource.
      • get

        public ConfigEntry get​(java.lang.String name)
        Get the configuration entry with the provided name or null if there isn't one.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object