org.kie.scanner
Class DependencyDescriptor
java.lang.Object
org.kie.scanner.DependencyDescriptor
public class DependencyDescriptor
- extends Object
DependencyDescriptor
public DependencyDescriptor(org.apache.maven.model.Dependency dependency)
DependencyDescriptor
public DependencyDescriptor(org.sonatype.aether.artifact.Artifact artifact)
DependencyDescriptor
public DependencyDescriptor(String groupId,
String artifactId,
String version,
String type)
DependencyDescriptor
public DependencyDescriptor(org.kie.api.builder.ReleaseId releaseId)
getGroupId
public String getGroupId()
getArtifactId
public String getArtifactId()
getVersion
public String getVersion()
getGav
public org.kie.api.builder.ReleaseId getGav()
getType
public String getType()
isFixedVersion
public boolean isFixedVersion()
isSnapshot
public boolean isSnapshot()
isValid
public boolean isValid()
toString
public String toString()
- Overrides:
toString in class Object
toResolvableString
public String toResolvableString()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isNewerThan
public boolean isNewerThan(DependencyDescriptor o)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.