Class ManuallyEnteredCommitContextSource
java.lang.Object
hudson.model.AbstractDescribableImpl<GitHubStatusContextSource>
org.jenkinsci.plugins.github.extension.status.GitHubStatusContextSource
org.jenkinsci.plugins.github.status.sources.ManuallyEnteredCommitContextSource
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubStatusContextSource>
Allows to manually enter context
- Since:
- 1.19.0
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontext
(Run<?, ?> run, TaskListener listener) Just returns what user entered.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ManuallyEnteredCommitContextSource
-
-
Method Details
-
getContext
-
context
Just returns what user entered. Expands env vars and token macro- Specified by:
context
in classGitHubStatusContextSource
- Parameters:
run
- actual runlistener
- build listener- Returns:
- simple short string to represent context of this state
-