Class VcsGolangPackage
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.GolangPackage
-
- com.github.blindpirate.gogradle.core.ResolvableGolangPackage
-
- com.github.blindpirate.gogradle.core.VcsGolangPackage
-
- All Implemented Interfaces:
java.io.Serializable
public class VcsGolangPackage extends ResolvableGolangPackage
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVcsGolangPackage.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protectedVcsGolangPackage(java.nio.file.Path rootPath, java.nio.file.Path path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VcsGolangPackage.Builderbuilder()booleanequals(java.lang.Object o)GolangRepositorygetRepository()java.util.List<java.lang.String>getUrls()VcsTypegetVcsType()inthashCode()protected java.util.Optional<GolangPackage>longerPath(java.nio.file.Path packagePath)protected java.util.Optional<GolangPackage>shorterPath(java.nio.file.Path packagePath)java.lang.StringtoString()-
Methods inherited from class com.github.blindpirate.gogradle.core.ResolvableGolangPackage
getRootPath, getRootPathString
-
Methods inherited from class com.github.blindpirate.gogradle.core.GolangPackage
getPath, getPathString, resolve, resolve
-
-
-
-
Method Detail
-
longerPath
protected java.util.Optional<GolangPackage> longerPath(java.nio.file.Path packagePath)
- Specified by:
longerPathin classGolangPackage
-
shorterPath
protected java.util.Optional<GolangPackage> shorterPath(java.nio.file.Path packagePath)
- Specified by:
shorterPathin classGolangPackage
-
getRepository
public GolangRepository getRepository()
-
getVcsType
public VcsType getVcsType()
-
getUrls
public java.util.List<java.lang.String> getUrls()
-
builder
public static VcsGolangPackage.Builder builder()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classResolvableGolangPackage
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResolvableGolangPackage
-
-