Class CompareWalker.FileMismatch
- java.lang.Object
-
- com.g2forge.alexandria.java.io.file.compare.CompareWalker.FileMismatch
-
- All Implemented Interfaces:
IHasExplanation<String>
,CompareWalker.IMismatch
- Enclosing class:
- CompareWalker
public static class CompareWalker.FileMismatch extends Object implements CompareWalker.IMismatch
-
-
Constructor Summary
Constructors Constructor Description FileMismatch(Path relative, Map<IFileCompareGroup,Set<Path>> contents)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<IFileCompareGroup,Set<Path>>
getContents()
String
getExplanation()
Path
getRelative()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
relative
protected final Path relative
-
contents
protected final Map<IFileCompareGroup,Set<Path>> contents
-
-
Constructor Detail
-
FileMismatch
@ConstructorProperties({"relative","contents"}) public FileMismatch(Path relative, Map<IFileCompareGroup,Set<Path>> contents)
-
-
Method Detail
-
getExplanation
public String getExplanation()
- Specified by:
getExplanation
in interfaceIHasExplanation<String>
-
getRelative
public Path getRelative()
- Specified by:
getRelative
in interfaceCompareWalker.IMismatch
-
getContents
public Map<IFileCompareGroup,Set<Path>> getContents()
-
canEqual
protected boolean canEqual(Object other)
-
-