Package org.kohsuke.github
Class GHRef.GHObject
- java.lang.Object
-
- org.kohsuke.github.GHRef.GHObject
-
-
Constructor Summary
Constructors Constructor Description GHObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSha()SHA1 of this object.StringgetType()Type of the object, such as "commit"URLgetUrl()API URL to this Git data, such as https://api.github.com/repos/jenkinsci/jenkins/git/commits/b72322675eb0114363a9a86e9ad5a170d1d07ac0
-
-
-
Method Detail
-
getType
public String getType()
Type of the object, such as "commit"- Returns:
- the type
-
getSha
public String getSha()
SHA1 of this object.- Returns:
- the sha
-
getUrl
public URL getUrl()
API URL to this Git data, such as https://api.github.com/repos/jenkinsci/jenkins/git/commits/b72322675eb0114363a9a86e9ad5a170d1d07ac0- Returns:
- the url
-
-