Class DefaultGAVBasic
java.lang.Object
org.infrastructurebuilder.util.versions.DefaultGAVBasic
- All Implemented Interfaces:
GAVBasic
There are what APPEAR TO BE SOME INCONSISTENCIES in the constructors of
DefaultGAVBasic. However,
there are some reasons for making the possibility of choosing the wrong one a thing.
IF you use a dependency string, then the extension is NOT defaulted to 'jar'.
IF you use the 3-argument constructor, the extension is NOT defaulted to 'jar'.
IF you call setExtension(String), the extension IS defaulted to 'jar'.-
Field Summary
Fields inherited from interface org.infrastructurebuilder.util.versions.GAVBasic
BASIC_PACKAGING, comparator, DELIMITER, OPTIONAL_STRING_COMPARATOR, SLASH, SNAPSHOT_DESIGNATOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultGAVBasic(String from) DefaultGAVBasic(String groupId, String artifactId, String version) DefaultGAVBasic(String groupId, String artifactId, String version, String extension) DefaultGAVBasic(String groupId, String artifactId, String classifier, String version, String extension) -
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultGAVBasicsetArtifactId(String artifactId) protected DefaultGAVBasicsetClassifier(String classifier) protected DefaultGAVBasicsetExtension(String extension) protected DefaultGAVBasicsetGroupId(String groupId) protected DefaultGAVBasicsetVersion(String version) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infrastructurebuilder.util.versions.GAVBasic
asMavenDependencyGet, asModelId, asPaxUrl, asRange, compareTo, compareVersion, equalsIgnoreClassifier, getAPIVersion, getDefaultSignaturePath, getDefaultToString, getDefaultURIStringPath, isSnapshot
-
Constructor Details
-
DefaultGAVBasic
protected DefaultGAVBasic() -
DefaultGAVBasic
-
DefaultGAVBasic
-
DefaultGAVBasic
-
DefaultGAVBasic
-
-
Method Details
-
toString
-
getArtifactId
- Specified by:
getArtifactIdin interfaceGAVBasic
-
getClassifier
- Specified by:
getClassifierin interfaceGAVBasic
-
getExtension
- Specified by:
getExtensionin interfaceGAVBasic
-
getGroupId
- Specified by:
getGroupIdin interfaceGAVBasic
-
getVersion
- Specified by:
getVersionin interfaceGAVBasic
-
setGroupId
-
setArtifactId
-
setVersion
-
setExtension
-
setClassifier
-