de.danielbechler.diff
Class Configuration
java.lang.Object
de.danielbechler.diff.Configuration
- All Implemented Interfaces:
- NodeInspector
public class Configuration
- extends Object
- implements NodeInspector
- Author:
- Daniel Bechler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Configuration
public Configuration()
withCategory
public Configuration withCategory(String category)
withoutCategory
public Configuration withoutCategory(String... category)
withPropertyPath
public Configuration withPropertyPath(PropertyPath propertyPath)
withoutProperty
public Configuration withoutProperty(PropertyPath propertyPath)
withEqualsOnlyType
public Configuration withEqualsOnlyType(Class<?> type)
withEqualsOnlyProperty
public Configuration withEqualsOnlyProperty(PropertyPath propertyPath)
withIgnoredNodes
public Configuration withIgnoredNodes()
withoutIgnoredNodes
public Configuration withoutIgnoredNodes()
withUntouchedNodes
public Configuration withUntouchedNodes()
withoutUntouchedNodes
public Configuration withoutUntouchedNodes()
withCircularNodes
public Configuration withCircularNodes()
withoutCircularNodes
public Configuration withoutCircularNodes()
withChildrenOfAddedNodes
public Configuration withChildrenOfAddedNodes()
withoutChildrenOfAddedNodes
public Configuration withoutChildrenOfAddedNodes()
withChildrenOfRemovedNodes
public Configuration withChildrenOfRemovedNodes()
withoutChildrenOfRemovedNodes
public Configuration withoutChildrenOfRemovedNodes()
treatPrimitiveDefaultValuesAs
public Configuration treatPrimitiveDefaultValuesAs(Configuration.PrimitiveDefaultValueMode mode)
getPrimitiveDefaultValueMode
public Configuration.PrimitiveDefaultValueMode getPrimitiveDefaultValueMode()
isIgnored
public boolean isIgnored(Node node)
- Specified by:
isIgnored
in interface NodeInspector
isIncluded
public boolean isIncluded(Node node)
- Specified by:
isIncluded
in interface NodeInspector
isExcluded
public boolean isExcluded(Node node)
- Specified by:
isExcluded
in interface NodeInspector
isEqualsOnly
public boolean isEqualsOnly(Node node)
- Specified by:
isEqualsOnly
in interface NodeInspector
isReturnable
public boolean isReturnable(Node node)
- Specified by:
isReturnable
in interface NodeInspector
isIntrospectible
public boolean isIntrospectible(Node node)
- Specified by:
isIntrospectible
in interface NodeInspector
- Returns:
- Returns
true
if the object represented by the given node should be compared via
introspection. It must always return false
if NodeInspector.isEqualsOnly(de.danielbechler.diff.node.Node)
returns true
.
Copyright © 2012. All Rights Reserved.