public class VcsGolangPackage extends ResolvableGolangPackage
| Modifier and Type | Class and Description |
|---|---|
static class |
VcsGolangPackage.Builder |
static class |
VcsGolangPackage.VcsInfo |
| Modifier | Constructor and Description |
|---|---|
protected |
VcsGolangPackage(java.nio.file.Path rootPath,
java.nio.file.Path path) |
| Modifier and Type | Method and Description |
|---|---|
static VcsGolangPackage.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
VcsGolangPackage.VcsInfo |
getOriginalVcsInfo() |
VcsGolangPackage.VcsInfo |
getSubstitutedVcsInfo() |
java.util.List<java.lang.String> |
getUrls() |
VcsType |
getVcsType() |
int |
hashCode() |
protected java.util.Optional<GolangPackage> |
longerPath(java.nio.file.Path packagePath) |
protected java.util.Optional<GolangPackage> |
shorterPath(java.nio.file.Path packagePath) |
java.lang.String |
toString() |
getRootPath, getRootPathStringgetPath, getPathString, resolve, resolveprotected VcsGolangPackage(java.nio.file.Path rootPath,
java.nio.file.Path path)
public VcsType getVcsType()
public java.util.List<java.lang.String> getUrls()
public VcsGolangPackage.VcsInfo getOriginalVcsInfo()
public VcsGolangPackage.VcsInfo getSubstitutedVcsInfo()
protected java.util.Optional<GolangPackage> longerPath(java.nio.file.Path packagePath)
longerPath in class GolangPackageprotected java.util.Optional<GolangPackage> shorterPath(java.nio.file.Path packagePath)
shorterPath in class GolangPackagepublic static VcsGolangPackage.Builder builder()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class ResolvableGolangPackagepublic int hashCode()
hashCode in class ResolvableGolangPackage