Class AbstractDiffCommand
java.lang.Object
net.thevpc.nuts.toolbox.ndiff.jar.AbstractDiffCommand
- All Implemented Interfaces:
DiffCommand
- Direct Known Subclasses:
DiffCommandDefault,DiffCommandJavaClass,DiffCommandJavaManifest,DiffCommandJavaProperties,DiffCommandVar,DiffCommandZip
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateChildItem(DiffKey name, DiffStatus status, String sourceValue, String targetValue, DiffEvalContext diffEvalContext) createContext(DiffKey name, DiffStatus kind, String sourceValue, String targetValue, DiffEvalContext diffEvalContext) protected DiffResultcreateResult(TreeMap<DiffKey, String> missing1, TreeMap<DiffKey, String> missing2, TreeMap<DiffKey, String[]> diffs, DiffEvalContext context) eval(DiffEvalContext context) getId()prepareSourceOrTarget(Object source) resolveDiffItemFactory(DiffKey key, DiffEvalContext diffEvalContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.thevpc.nuts.toolbox.ndiff.jar.DiffCommand
acceptDiffKey, acceptInput, createContentDiffItem, hash, map
-
Constructor Details
-
AbstractDiffCommand
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceDiffCommand
-
prepareSourceOrTarget
-
eval
- Specified by:
evalin interfaceDiffCommand
-
createContext
public DiffItemCreateContext createContext(DiffKey name, DiffStatus kind, String sourceValue, String targetValue, DiffEvalContext diffEvalContext) -
resolveDiffItemFactory
-
createChildItem
public DiffItem createChildItem(DiffKey name, DiffStatus status, String sourceValue, String targetValue, DiffEvalContext diffEvalContext) - Specified by:
createChildItemin interfaceDiffCommand
-
createResult
-