public class VcsGolangPackage extends ResolvableGolangPackage
| Modifier and Type | Class and Description |
|---|---|
static class |
VcsGolangPackage.Builder |
| 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) |
GolangRepository |
getRepository() |
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)
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 GolangRepository getRepository()
public VcsType getVcsType()
public java.util.List<java.lang.String> getUrls()
public 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