public class SnapshotDependency extends StandardDependency
MAVEN_PATH_FORMAT| Constructor and Description |
|---|
SnapshotDependency(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String classifier,
java.lang.String snapshotVersion,
java.lang.String hash,
java.lang.String hashingAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getFileName()
Returns the file name for the end of the maven path.
|
java.lang.String |
getSnapshotVersion()
The timestamped snapshot version.
|
boolean |
isSnapshot()
If this is a snapshot dependency.
|
getArtifactId, getClassifier, getGroupId, getHash, getHashingAlgorithm, getVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMavenArtifact, getMavenPath, getStoredFileNamepublic SnapshotDependency(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String classifier,
java.lang.String snapshotVersion,
java.lang.String hash,
java.lang.String hashingAlgorithm)
public java.lang.String getSnapshotVersion()
DependencygetSnapshotVersion in interface DependencygetSnapshotVersion in class StandardDependencynull if this isn't a snapshot dependency.Dependency.isSnapshot()public boolean isSnapshot()
DependencyisSnapshot in interface DependencyisSnapshot in class StandardDependency@NotNull public @NotNull java.lang.String getFileName()
Dependency