public class ArchetypeUtil extends Object
Archetype
s.Constructor and Description |
---|
ArchetypeUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areEqual(org.apache.maven.archetype.catalog.Archetype one,
org.apache.maven.archetype.catalog.Archetype another)
Checks
Archetype equality by testing groupId , artifactId and version |
static int |
getHashCode(org.apache.maven.archetype.catalog.Archetype archetype)
Computes an
Archetype hashcode from the original Archetype.hashCode() result plus the
Archetype.getVersion() hashcode. |
public static boolean areEqual(org.apache.maven.archetype.catalog.Archetype one, org.apache.maven.archetype.catalog.Archetype another)
Archetype
equality by testing groupId
, artifactId
and version
public static int getHashCode(org.apache.maven.archetype.catalog.Archetype archetype)
Archetype
hashcode from the original Archetype.hashCode()
result plus the
Archetype.getVersion()
hashcode. Returns -1 if the archetype is null.Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.