Class ClientsClassDefinitionBuilder<T extends ClientsClassDefinitionBuilder>

    • Method Detail

      • withIgnoredProperties

        public T withIgnoredProperties​(java.util.List<java.lang.String> ignoredProperties)
        List of class properties to be ignored by JaVers.

        Properties can be also ignored with the DiffIgnore annotation.

        You can either specify includedProperties or ignoredProperties, not both.
        Throws:
        java.lang.IllegalArgumentException - If includedProperties was already set.
        See Also:
        DiffIgnore
      • withIncludedProperties

        public T withIncludedProperties​(java.util.List<java.lang.String> includedProperties)
        If included properties are defined for a class, only these properties are visible for JaVers, and the rest is ignored.

        Properties can be also included with the DiffInclude annotation.

        You can either specify includedProperties or ignoredProperties, not both.
        Throws:
        JaversException - If ignoredProperties was already set
      • withShallowProperties

        public T withShallowProperties​(java.util.List<java.lang.String> shallowProperties)
        Equiv to the property-level ShallowReference annotations.
      • withTypeName

        public T withTypeName​(java.util.Optional<java.lang.String> typeName)
      • withTypeName

        public T withTypeName​(java.lang.String typeName)