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() |
VcsGolangPackage.VcsInfo |
getOriginalVcsInfo() |
VcsGolangPackage.VcsInfo |
getSubstitutedVcsInfo() |
java.lang.String |
getUrl() |
java.util.List<java.lang.String> |
getUrls() |
VcsType |
getVcsType() |
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, getRootPathString, isRootgetPath, getPathString, resolve, resolveprotected VcsGolangPackage(java.nio.file.Path rootPath,
java.nio.file.Path path)
public VcsType getVcsType()
public java.lang.String getUrl()
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.Object