Class GitHubTagSCMHead
- java.lang.Object
-
- jenkins.scm.api.SCMHead
-
- com.github.kostyasha.github.integration.multibranch.head.GitHubSCMHead<GitHubTagCause>
-
- com.github.kostyasha.github.integration.multibranch.head.GitHubTagSCMHead
-
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.SCMHeadMixin
public class GitHubTagSCMHead extends GitHubSCMHead<GitHubTagCause>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitHubTagSCMHead(String name, String sourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fetchHeadSha(org.kohsuke.github.GHRepository remoteRepo)
String
getHeadSha(GitHubTagCause cause)
String
getPronoun()
-
Methods inherited from class com.github.kostyasha.github.integration.multibranch.head.GitHubSCMHead
createSCMRevision, getSourceId
-
-
-
-
Method Detail
-
getPronoun
public String getPronoun()
- Overrides:
getPronoun
in classjenkins.scm.api.SCMHead
-
fetchHeadSha
public String fetchHeadSha(org.kohsuke.github.GHRepository remoteRepo) throws IOException
- Specified by:
fetchHeadSha
in classGitHubSCMHead<GitHubTagCause>
- Throws:
IOException
-
getHeadSha
public String getHeadSha(GitHubTagCause cause)
- Specified by:
getHeadSha
in classGitHubSCMHead<GitHubTagCause>
-
-