Class GitHubStatusResultSource
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubStatusResultSource>
org.jenkinsci.plugins.github.extension.status.GitHubStatusResultSource
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubStatusResultSource>
- Direct Known Subclasses:
ConditionalStatusResultSource
,DefaultStatusResultSource
public abstract class GitHubStatusResultSource
extends AbstractDescribableImpl<GitHubStatusResultSource>
implements ExtensionPoint
Extension point to provide exact state and message for the commit
- Since:
- 1.19.0
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Bean with state and msg infoNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
GitHubStatusResultSource
public GitHubStatusResultSource()
-
-
Method Details
-
get
public abstract GitHubStatusResultSource.StatusResult get(@NonNull Run<?, ?> run, @NonNull TaskListener listener) throws IOException, InterruptedException- Parameters:
run
- actual runlistener
- run listener- Returns:
- bean with state and already expanded message
- Throws:
IOException
InterruptedException
-