Package io.jenkins.plugins.checks.github
Class GitHubChecksAction
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- io.jenkins.plugins.checks.github.GitHubChecksAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class GitHubChecksAction extends InvisibleAction
An invisible action to track the state of GitHub Checks so that the publisher can update existing checks by the same name, and report back to the checks api the state of a named check (without having to go and check GitHub each time).
-
-
Constructor Summary
Constructors Constructor Description GitHubChecksAction(long id, String name)
Construct aGitHubChecksAction
with the given details.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getId()
String
getName()
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Constructor Detail
-
GitHubChecksAction
public GitHubChecksAction(long id, String name)
Construct aGitHubChecksAction
with the given details.- Parameters:
id
- the id of the check run as reported by GitHubname
- the name of the check
-
-
Method Detail
-
getId
public long getId()
-
getName
public String getName()
-
-