Package de.obqo.decycle.slicer
Class IgnoredDependency
- java.lang.Object
-
- de.obqo.decycle.slicer.IgnoredDependency
-
public final class IgnoredDependency extends java.lang.ObjectRepresents a dependency between two classes that should be ignored when checking the defined constraints.
-
-
Constructor Summary
Constructors Constructor Description IgnoredDependency(java.lang.String fromPattern, java.lang.String toPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetFromPattern()The pattern for the source of the dependency - seePatternMatchingNodeFilterjava.lang.StringgetToPattern()The pattern for the target of the dependency - seePatternMatchingNodeFilterinthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getFromPattern
public java.lang.String getFromPattern()
The pattern for the source of the dependency - seePatternMatchingNodeFilter- Returns:
- the pattern
-
getToPattern
public java.lang.String getToPattern()
The pattern for the target of the dependency - seePatternMatchingNodeFilter- Returns:
- the pattern
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-