Package org.basepom.mojo.duplicatefinder
Class ClasspathElement
java.lang.Object
org.basepom.mojo.duplicatefinder.ClasspathElement
- All Implemented Interfaces:
Comparable<ClasspathElement>
- Direct Known Subclasses:
ClasspathElement.ClasspathArtifact
,ClasspathElement.ClasspathLocalFolder
Describes any of the possible elements on the classpath. These can be elements from the boot classpath, artifacts and local
folder from the current project. For each of the possible types exists a subclass which holds additional information.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(ClasspathElement element) org.apache.maven.artifact.Artifact
getFile()
abstract String
getName()
static Function<ClasspathElement,
String> boolean
boolean
-
Constructor Details
-
ClasspathElement
public ClasspathElement()
-
-
Method Details
-
getName
-
getFile
-
getArtifact
public org.apache.maven.artifact.Artifact getArtifact() -
isLocalFolder
public boolean isLocalFolder() -
hasArtifact
public boolean hasArtifact() -
compareTo
- Specified by:
compareTo
in interfaceComparable<ClasspathElement>
-
getNameFunction
-