Class ConfigInstance


  • public abstract class ConfigInstance
    extends InnerNode
    Represents an instance of an application config with a specific configId.

    An instance of this class contains all values (represented by Nodes) for the config object as it is the superclass of the generated config class used by the client.

    • Constructor Detail

      • ConfigInstance

        public ConfigInstance()
    • Method Detail

      • getDefName

        public static java.lang.String getDefName​(java.lang.Class<?> type)
        Gets the name of the given config instance
      • getDefNamespace

        public static java.lang.String getDefNamespace​(java.lang.Class<?> type)
        Gets the namespace of the given config instance
      • serialize

        public static java.util.List<java.lang.String> serialize​(InnerNode node)
        Returns the serialized representation of the given node.

        Declared static, instead of InnerNode member, to avoid a public 0-arg method with a commonly used name.

        Parameters:
        node - The inner node
        Returns:
        a list of strings, containing the serialized representation of this config
      • getConfigMd5

        public java.lang.String getConfigMd5()
      • setConfigMd5

        public void setConfigMd5​(java.lang.String configMd5)