Package org.javers.core.metamodel.clazz
Class ClientsClassDefinitionBuilder<T extends ClientsClassDefinitionBuilder>
- java.lang.Object
-
- org.javers.core.metamodel.clazz.ClientsClassDefinitionBuilder<T>
-
- Direct Known Subclasses:
EntityDefinitionBuilder
,ValueObjectDefinitionBuilder
public abstract class ClientsClassDefinitionBuilder<T extends ClientsClassDefinitionBuilder> extends java.lang.Object
- Since:
- 1.4
-
-
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)
-
-
-
Method Detail
-
withIgnoredProperties
public T withIgnoredProperties(java.lang.String... ignoredProperties)
- See Also:
withIgnoredProperties(List)
-
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 theDiffIgnore
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 theDiffInclude
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)
-
build
public ClientsClassDefinition build()
-
-