Class Config


  • public class Config
    extends Object
    A configuration object containing the configuration entries for a resource
    • Constructor Detail

      • Config

        public Config()
        Constructor
      • Config

        public Config​(List<ConfigEntry> entries)
        Constructor
        Parameters:
        entries - configuration entries for a resource
      • Config

        public Config​(JsonObject json)
        Constructor (from JSON representation)
        Parameters:
        json - JSON representation
    • Method Detail

      • getEntries

        public List<ConfigEntry> getEntries()
        Returns:
        configuration entries for a resource
      • setEntries

        public Config setEntries​(List<ConfigEntry> entries)
        Set the configuration entries for a resource
        Parameters:
        entries - configuration entries for a resource
        Returns:
        current instance of the class to be fluent
      • toJson

        public JsonObject toJson()
        Convert object to JSON representation
        Returns:
        JSON representation