Class GitHubRepo
java.lang.Object
com.github.kostyasha.github.integration.multibranch.action.GitHubRepo
- All Implemented Interfaces:
Action
,ModelObject
Action as storage of critical (and not) information required for triggering decision.
Like
GitHubPRRepository
and GitHubBranchRepository
, but will contain
anything related to repo in this single class.-
Constructor Summary
ConstructorsConstructorDescriptionGitHubRepo
(GitHubBranchRepository branchRepository, GitHubTagRepository tagRepository, GitHubPRRepository prRepository) GitHubRepo
(String repoFullName, URL url) For offline initialisation from what user specified.GitHubRepo
(org.kohsuke.github.GHRepository repository) When remote side available. -
Method Summary
-
Constructor Details
-
GitHubRepo
-
GitHubRepo
When remote side available.- Throws:
IOException
-
GitHubRepo
For offline initialisation from what user specified. -
GitHubRepo
public GitHubRepo(GitHubBranchRepository branchRepository, GitHubTagRepository tagRepository, GitHubPRRepository prRepository)
-
-
Method Details
-
getBranchRepository
-
getTagRepository
-
getPrRepository
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
actualize
- Throws:
IOException
-
sync
public void sync(org.kohsuke.github.GHRepository remoteRepo) -
setOwner
-