Package hydra.error.packaging
Class ConflictingModuleNamespaceError
- java.lang.Object
-
- hydra.error.packaging.ConflictingModuleNamespaceError
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConflictingModuleNamespaceError>
public class ConflictingModuleNamespaceError extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ConflictingModuleNamespaceError>
A module namespace which, when mapped to a target language's directory or package structure, conflicts with another module's mapped namespace. For example, hydra.foo.bar and hydra.fooBar might both map to the same directory in a case-insensitive filesystem.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConflictingModuleNamespaceError(Namespace first, Namespace second)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ConflictingModuleNamespaceError other)booleanequals(java.lang.Object other)inthashCode()ConflictingModuleNamespaceErrorwithFirst(Namespace first)ConflictingModuleNamespaceErrorwithSecond(Namespace second)
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ConflictingModuleNamespaceError other)
- Specified by:
compareToin interfacejava.lang.Comparable<ConflictingModuleNamespaceError>
-
withFirst
public ConflictingModuleNamespaceError withFirst(Namespace first)
-
withSecond
public ConflictingModuleNamespaceError withSecond(Namespace second)
-
-