Class GitHubSCMHead<T extends GitHubCause<T>>
- java.lang.Object
-
- jenkins.scm.api.SCMHead
-
- com.github.kostyasha.github.integration.multibranch.head.GitHubSCMHead<T>
-
- All Implemented Interfaces:
Serializable
,Comparable<jenkins.scm.api.SCMHead>
,jenkins.scm.api.mixin.SCMHeadMixin
- Direct Known Subclasses:
GitHubBranchSCMHead
,GitHubPRSCMHead
,GitHubTagSCMHead
public abstract class GitHubSCMHead<T extends GitHubCause<T>> extends jenkins.scm.api.SCMHead
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GitHubSCMHead(String name, String sourceId)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description GitHubSCMRevision
createSCMRevision(T cause)
abstract String
fetchHeadSha(org.kohsuke.github.GHRepository remoteRepo)
abstract String
getHeadSha(T cause)
String
getSourceId()
-
-
-
Method Detail
-
getSourceId
public String getSourceId()
-
fetchHeadSha
public abstract String fetchHeadSha(org.kohsuke.github.GHRepository remoteRepo) throws IOException
- Throws:
IOException
-
createSCMRevision
public GitHubSCMRevision createSCMRevision(T cause)
-
-