Class GitLabService
- java.lang.Object
-
- fr.paris.lutece.plugins.lutecetools.service.AbstractGitPlatformService
-
- fr.paris.lutece.plugins.lutecetools.service.GitLabService
-
- All Implemented Interfaces:
ComponentInfoFiller,fr.paris.lutece.portal.service.util.LuteceService
public class GitLabService extends AbstractGitPlatformService
GitlabService
-
-
Field Summary
-
Fields inherited from class fr.paris.lutece.plugins.lutecetools.service.AbstractGitPlatformService
BRANCHES_LIST, GIT_GROUP, GIT_PLATFORM, GIT_REPO_ERRORS, GIT_REPO_STATUS, HAS_README, OLDEST_PULL_REQUEST, PULL_REQUEST_COUNT
-
-
Constructor Summary
Constructors Constructor Description GitLabService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfill(fr.paris.lutece.plugins.lutecetools.business.Component component, StringBuilder sbLogs)Fill component informationStringgetName()static Map<String,org.gitlab.api.models.GitlabProject>getRepositories()Fetch all repositories hosted by the platform-
Methods inherited from class fr.paris.lutece.plugins.lutecetools.service.AbstractGitPlatformService
getGitPlatform, getItemCount, getItemOk, incrementItemCount, incrementItemOk, setGitPlatform, setItemCount, setItemOk
-
-
-
-
Method Detail
-
getName
public String getName()
-
fill
public void fill(fr.paris.lutece.plugins.lutecetools.business.Component component, StringBuilder sbLogs)Fill component information- Parameters:
component- The componentsbLogs- Logs
-
getRepositories
public static Map<String,org.gitlab.api.models.GitlabProject> getRepositories() throws IOException
Fetch all repositories hosted by the platform- Returns:
- The repositories map
- Throws:
IOException- if an error occurs
-
-