Class DependencyInfo
java.lang.Object
org.apache.maven.plugins.war.util.DependencyInfo
Holds a dependency and packaging information.
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionDependencyInfo(org.apache.maven.model.Dependency dependency) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.maven.model.DependencyReturns the dependency.Returns the target filename of the dependency.inthashCode()voidsetTargetFileName(String targetFileName) Sets the target file name.
-
Constructor Details
-
DependencyInfo
public DependencyInfo(org.apache.maven.model.Dependency dependency) Creates a new instance.- Parameters:
dependency- the dependency
-
-
Method Details
-
getDependency
public org.apache.maven.model.Dependency getDependency()Returns the dependency.- Returns:
- the dependency
-
getTargetFileName
Returns the target filename of the dependency. If no target file name is associated, returnsnull.- Returns:
- the target file name or
null
-
setTargetFileName
Sets the target file name.- Parameters:
targetFileName- the target file name
-
equals
-
hashCode
public int hashCode()
-