public class GitLabDiscoverer extends GitDiscoverer
| Constructor and Description | 
|---|
GitLabDiscoverer(java.net.URL repoUrl)  | 
GitLabDiscoverer(java.net.URL repoUrl,
                boolean isTrusted)
Must be a public repository, or setToken() must be called. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.net.URL | 
getApiBase()  | 
java.util.List<java.lang.String> | 
getBranches(int max)  | 
org.json.JSONObject | 
getFileInfo(java.lang.String path,
           java.lang.String ref)  | 
protected HttpHelper | 
getHttpHelper(java.lang.String url)  | 
protected java.lang.String | 
getPackageName(java.lang.String path)
Paths are relative to the repository base. 
 | 
java.lang.String | 
getRepoName()  | 
java.lang.String | 
getRepoPath()  | 
java.util.List<java.lang.String> | 
getTags(int max)  | 
org.json.JSONArray | 
getTreeInfo(java.lang.String path,
           java.lang.String ref,
           boolean recursive)  | 
findPackage, getArrayValues, getAssetPath, getPackageInfo, getPackages, getRef, getRepoUrl, getToken, setRef, setToken, toStringpublic GitLabDiscoverer(java.net.URL repoUrl)
                 throws java.io.IOException
java.io.IOExceptionpublic GitLabDiscoverer(java.net.URL repoUrl,
                        boolean isTrusted)
                 throws java.io.IOException
java.io.IOExceptionpublic java.net.URL getApiBase()
getApiBase in class GitDiscovererpublic java.lang.String getRepoPath()
getRepoPath in class GitDiscovererpublic java.lang.String getRepoName()
getRepoName in class GitDiscovererpublic java.util.List<java.lang.String> getBranches(int max)
                                             throws java.io.IOException
getBranches in class GitDiscovererjava.io.IOExceptionpublic java.util.List<java.lang.String> getTags(int max)
                                         throws java.io.IOException
getTags in class GitDiscovererjava.io.IOExceptionpublic org.json.JSONObject getFileInfo(java.lang.String path,
                                       java.lang.String ref)
                                throws java.io.IOException
java.io.IOExceptionpublic org.json.JSONArray getTreeInfo(java.lang.String path,
                                      java.lang.String ref,
                                      boolean recursive)
                               throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getPackageName(java.lang.String path)
                                   throws java.io.IOException
java.io.IOExceptionprotected HttpHelper getHttpHelper(java.lang.String url) throws java.io.IOException
java.io.IOExceptionCopyright © 2019 CenturyLink, Inc.