@Beta public final class ArtifactId extends Object implements Comparable<ArtifactId>
| Constructor and Description |
|---|
ArtifactId(String name,
ArtifactVersion version,
ArtifactScope scope) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ArtifactId other) |
boolean |
equals(Object o) |
String |
getName()
get name of the artifact
|
ArtifactScope |
getScope()
get the scope of artifact
|
ArtifactVersion |
getVersion()
get the version of artifact
|
int |
hashCode() |
String |
toString() |
public ArtifactId(String name, ArtifactVersion version, ArtifactScope scope)
public String getName()
public ArtifactVersion getVersion()
ArtifactVersionpublic ArtifactScope getScope()
ArtifactScopepublic int compareTo(ArtifactId other)
compareTo in interface Comparable<ArtifactId>Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.