Package help.validator.links
Class InvalidIMGLink
- java.lang.Object
-
- help.validator.links.InvalidIMGLink
-
- All Implemented Interfaces:
InvalidLink
,java.lang.Comparable<InvalidLink>
- Direct Known Subclasses:
IllegalHModuleAssociationIMGInvalidLink
,IncorrectIMGFilenameCaseInvalidLink
,InvalidRuntimeIMGFileInvalidLink
,MissingIMGFileInvalidLink
,NonExistentIMGFileInvalidLink
public class InvalidIMGLink extends java.lang.Object implements InvalidLink
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InvalidIMGLink(IMG img, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(InvalidLink other)
boolean
equals(java.lang.Object obj)
IMG
getIMG()
int
getLineNumber()
java.nio.file.Path
getSourceFile()
int
hashCode()
int
identityHashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
img
protected final IMG img
-
message
protected final java.lang.String message
-
-
Constructor Detail
-
InvalidIMGLink
protected InvalidIMGLink(IMG img, java.lang.String message)
-
-
Method Detail
-
getIMG
public IMG getIMG()
-
identityHashCode
public int identityHashCode()
- Specified by:
identityHashCode
in interfaceInvalidLink
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceInvalidLink
-
getSourceFile
public java.nio.file.Path getSourceFile()
- Specified by:
getSourceFile
in interfaceInvalidLink
-
compareTo
public int compareTo(InvalidLink other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<InvalidLink>
- Specified by:
compareTo
in interfaceInvalidLink
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfaceInvalidLink
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceInvalidLink
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfaceInvalidLink
- Overrides:
equals
in classjava.lang.Object
-
-