Class LocalDirectoryGolangPackage
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.GolangPackage
-
- com.github.blindpirate.gogradle.core.ResolvableGolangPackage
-
- com.github.blindpirate.gogradle.core.LocalDirectoryGolangPackage
-
- All Implemented Interfaces:
java.io.Serializable
public class LocalDirectoryGolangPackage extends ResolvableGolangPackage
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetDir()inthashCode()protected java.util.Optional<GolangPackage>longerPath(java.nio.file.Path packagePath)static LocalDirectoryGolangPackageof(java.lang.String rootPath, java.lang.String path, java.lang.String dir)static LocalDirectoryGolangPackageof(java.nio.file.Path rootPath, java.nio.file.Path path, java.lang.String dir)protected java.util.Optional<GolangPackage>shorterPath(java.nio.file.Path packagePath)-
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
-
getDir
public java.lang.String getDir()
-
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
-
of
public static LocalDirectoryGolangPackage of(java.nio.file.Path rootPath, java.nio.file.Path path, java.lang.String dir)
-
of
public static LocalDirectoryGolangPackage of(java.lang.String rootPath, java.lang.String path, java.lang.String dir)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classResolvableGolangPackage
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResolvableGolangPackage
-
-