Class ClientsClassDefinitionBuilder<T extends ClientsClassDefinitionBuilder>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ClientsClassDefinition build()  
      T withIgnoredProperties​(java.lang.String... ignoredProperties)  
      T withIgnoredProperties​(java.util.List<java.lang.String> ignoredProperties)
      List of class properties to be ignored by JaVers.
      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.
      T withTypeName​(java.lang.String typeName)  
      T withTypeName​(java.util.Optional<java.lang.String> typeName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • withTypeName

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

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