Class StandardGolangPackage
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.GolangPackage
-
- com.github.blindpirate.gogradle.core.StandardGolangPackage
-
- All Implemented Interfaces:
java.io.Serializable
public class StandardGolangPackage extends GolangPackage
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathgetRootPath()java.lang.StringgetRootPathString()protected java.util.Optional<GolangPackage>longerPath(java.nio.file.Path packagePath)static StandardGolangPackageof(java.lang.String path)static StandardGolangPackageof(java.nio.file.Path path)protected java.util.Optional<GolangPackage>shorterPath(java.nio.file.Path packagePath)java.lang.StringtoString()-
Methods inherited from class com.github.blindpirate.gogradle.core.GolangPackage
equals, getPath, getPathString, hashCode, resolve, resolve
-
-
-
-
Method Detail
-
getRootPath
public java.nio.file.Path getRootPath()
- Overrides:
getRootPathin classGolangPackage
-
getRootPathString
public java.lang.String getRootPathString()
- Overrides:
getRootPathStringin classGolangPackage
-
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 StandardGolangPackage of(java.nio.file.Path path)
-
of
public static StandardGolangPackage of(java.lang.String path)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-