Class NodeDefinition

    • Constructor Detail

      • NodeDefinition

        public NodeDefinition()
    • Method Detail

      • isValueHolder

        public boolean isValueHolder()
        Returns:
        true if this is a leaf node and can hold a property value
      • definitionForChild

        @NonNull
        public abstract @NonNull NodeDefinition definitionForChild​(java.lang.String configKey)
                                                            throws ConfijBindingException
        Parameters:
        configKey - the name/key of the child for which we want the definition
        Returns:
        an instance of self for a given named child node.
        Throws:
        ConfijBindingException
      • getMandatoryKeys

        @NonNull
        public @NonNull java.util.Set<java.lang.String> getMandatoryKeys()
        Returns:
        a set of required names/keys for child nodes