Class GitHubTagRepository
java.lang.Object
com.github.kostyasha.github.integration.generic.GitHubRepository<GitHubTagRepository>
com.github.kostyasha.github.integration.tag.GitHubTagRepository
- All Implemented Interfaces:
Action
,ModelObject
,Saveable
Store local state of remote tags.
- Author:
- Kanstantsin Shautsou
-
Field Summary
Fields inherited from class com.github.kostyasha.github.integration.generic.GitHubRepository
changed, configFile, job
-
Constructor Summary
ConstructorsConstructorDescriptionGitHubTagRepository
(String repoFullName, URL url) GitHubTagRepository
(org.kohsuke.github.GHRepository remoteRepository) Object that represent GitHub repository to work with -
Method Summary
Modifier and TypeMethodDescriptionvoid
actualiseOnChange
(org.kohsuke.github.GHRepository ghRepository, TaskListener listener) doBuild
(org.kohsuke.stapler.StaplerRequest req) Build using local PR state.doRebuild
(org.kohsuke.stapler.StaplerRequest req) Rebuild latest built build.getTags()
Methods inherited from class com.github.kostyasha.github.integration.generic.GitHubRepository
actualise, getConfigFile, getFullName, getGithubUrl, getGitUrl, getJob, getSshUrl, save, saveQuietly, setConfigFile, setJob, withFullName, withGithubUrl, withGitUrl, withSshUrl
-
Constructor Details
-
GitHubTagRepository
Object that represent GitHub repository to work with- Parameters:
remoteRepository
- remote repository full name.- Throws:
IOException
-
GitHubTagRepository
-
-
Method Details
-
getTags
-
getIconFileName
-
getDisplayName
-
getUrlName
-
actualiseOnChange
public void actualiseOnChange(@NonNull org.kohsuke.github.GHRepository ghRepository, @NonNull TaskListener listener) - Specified by:
actualiseOnChange
in classGitHubRepository<GitHubTagRepository>
-
doClearRepo
- Specified by:
doClearRepo
in classGitHubRepository<GitHubTagRepository>
- Throws:
IOException
-
doRunTrigger
- Specified by:
doRunTrigger
in classGitHubRepository<GitHubTagRepository>
- Throws:
IOException
-
doRebuildAllFailed
- Specified by:
doRebuildAllFailed
in classGitHubRepository<GitHubTagRepository>
- Throws:
IOException
-
doBuild
Description copied from class:GitHubRepository
Build using local PR state.- Specified by:
doBuild
in classGitHubRepository<GitHubTagRepository>
- Throws:
IOException
-
doRebuild
Description copied from class:GitHubRepository
Rebuild latest built build. Actions copied.- Specified by:
doRebuild
in classGitHubRepository<GitHubTagRepository>
- Throws:
IOException
-