public abstract class AbstractDiffCommand extends Object implements DiffCommand
| Constructor and Description |
|---|
AbstractDiffCommand(String id) |
| Modifier and Type | Method and Description |
|---|---|
DiffItem |
createChildItem(DiffKey name,
DiffStatus status,
String sourceValue,
String targetValue,
DiffEvalContext diffEvalContext) |
DiffItemCreateContext |
createContext(DiffKey name,
DiffStatus kind,
String sourceValue,
String targetValue,
DiffEvalContext diffEvalContext) |
protected DiffResult |
createResult(TreeMap<DiffKey,String> missing1,
TreeMap<DiffKey,String> missing2,
TreeMap<DiffKey,String[]> diffs,
DiffEvalContext context) |
DiffResult |
eval(DiffEvalContext context) |
String |
getId() |
Object |
prepareSourceOrTarget(Object source) |
DiffCommand |
resolveDiffItemFactory(DiffKey key,
DiffEvalContext diffEvalContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptDiffKey, acceptInput, createContentDiffItem, hash, mappublic AbstractDiffCommand(String id)
public String getId()
getId in interface DiffCommandpublic DiffResult eval(DiffEvalContext context)
eval in interface DiffCommandpublic DiffItemCreateContext createContext(DiffKey name, DiffStatus kind, String sourceValue, String targetValue, DiffEvalContext diffEvalContext)
public DiffCommand resolveDiffItemFactory(DiffKey key, DiffEvalContext diffEvalContext)
public DiffItem createChildItem(DiffKey name, DiffStatus status, String sourceValue, String targetValue, DiffEvalContext diffEvalContext)
createChildItem in interface DiffCommandCopyright © 2021 vpc open source initiative. All rights reserved.