- checkDirectoryExists(String) - Method in EnvVarProperty
-
Return true if the specified path is a directory and exists.
- copyDataFromRepositoryInUrlsTxt(String, String, String, String) - Method in GitlabSCMProvider
-
Clone a repository from GitLab and populate it by pulling the data from the corresponding repository in urls.txt
FIXME clone using SSH or in a way in which the access token is not stored in .git/config - fine for now as this is for evaluation purposes
- create(Properties) - Method in BitbucketSCMProviderFactory
-
A factory method which returns an SCM Provider instantiated with the
the provided properties.
- create(Properties) - Method in GerritSCMProviderFactory
-
A factory method which return an SCM Provider instantiated with the
the provided properties.
- create(Properties) - Method in GitlabSCMProviderFactory
-
A factory method which return an SCM Provider instantiated with the
the provided properties.
- create(Properties) - Method in SCMProviderFactory
-
A factory method which return a SCM Provider instantiated according
to the provided SCM properties.
- createGroup(String, String, String) - Method in GitlabRequestUtil
-
Calls the makeRequest method with parameters which adjust the HTTP request as to create a GitLab group (namespace for a collection of repositories)
- createRepository(URL, String, String, String, String) - Method in BitbucketRequestUtil
-
- createRepositoryInGroup(String, String, int, String) - Method in GitlabRequestUtil
-
Calls the makeRequest method with parameters which adjust the HTTP request as to create a repository within a GitLab Group (namespace)
- createScmRepos(String, String, String, String) - Method in BitbucketSCMProvider
-
Creates relevant repositories defined by your cartridge in your chosen SCM provider
- createScmRepos(String, String, String, String) - Method in GerritSCMProvider
-
Creates relevant repositories defined by your cartridge in your chosen SCM provider
- createScmRepos(String, String, String, String) - Method in GitlabSCMProvider
-
Gets a list of repositories from urls.txt, validates them and then calls forkRepositoriesFromUrls to fork each repository in GitLab
If urls is empty, non readable or does not exist then exit without doing anything
- createScmRepos(String, String, String, String) - Method in SCMProvider
-
Creates the relevant repositories defined by your cartridge in your chosen SCM provider
- gerritEndpoint - Field in GerritSCMProvider
-
- gerritPermissions - Field in GerritSCMProvider
-
- gerritPermissionsWithReview - Field in GerritSCMProvider
-
- gerritPort - Field in GerritSCMProvider
-
- GerritSCMProtocol - Enum in pluggable.scm.gerrit
Set of named constants representing the supported Gerrit SCM protocols.
- GerritSCMProtocol(String) - Constructor in GerritSCMProtocol
-
Constructor for class GerritSCMProtocol.
- GerritSCMProvider - Class in pluggable.scm.gerrit
This class implements the Gerrit SCM Provider.
- GerritSCMProvider(String, int, GerritSCMProtocol, String, String, String, String, String, int, String, String) - Constructor in GerritSCMProvider
-
Constructor for class GerritSCMProvider.
- GerritSCMProviderFactory - Class in pluggable.scm.gerrit
The Gerrit SCM factory class is responsible for parsing the
providers properties and instantiating a GerritSCMProvider.
- GerritSCMProviderFactory() - Constructor in GerritSCMProviderFactory
-
- gerritUser - Field in GerritSCMProvider
-
- get(String, String, String, String, Closure) - Method in BitbucketSCMProvider
-
Return SCM section.
- get(String, String, String, String, Closure) - Method in GerritSCMProvider
-
Return SCM section.
- get(String, String, String, String, Closure) - Method in GitlabSCMProvider
-
Return SCM section closuer for Jenkins DSL
- get(String) - Method in PropertiesSCMProviderDataStore
-
Return properties object for the specified SCM provider id.
- get(String, String, String, String, Closure) - Method in SCMProvider
-
Return a closure representation of SCM section.
- get(String) - Method in SCMProviderDataStore
-
Return properties object for the specified SCM provider id.
- getAll() - Method in PropertiesSCMProviderDataStore
-
Return a string representation, in an array of all the available SCM providers.
- getAll() - Method in SCMProviderDataStore
-
Return a string representation, in a collection of all the available SCM providers.
- getAllRepositoriesInGroup(String, String, String) - Method in GitlabRequestUtil
-
Calls the makeRequest method with parameters which adjust the HTTP request as to return all the repositories that exist within a given group (namespace)
- getFileProperties(String) - Method in PropertyUtils
-
Get Properties from a file.
- getGroupInfo(String, String, String) - Method in GitlabRequestUtil
-
Calls the makeRequest method with parameters which adjust the HTTP request as to get all the information about a given group.
- getInstance() - Method in EnvVarProperty
-
A singleton method for the EnvVarProperty object.
- getLogger() - Method in EnvVarProperty
-
Return STDOUT logger.
- getMultibranch(String, String, String, Closure) - Method in BitbucketSCMProvider
-
Return a closure representation of the SCM section for multibranch pipelines.
- getMultibranch(String, String, String, Closure) - Method in GerritSCMProvider
-
Return a closure representation of the SCM section for multibranch pipelines.
- getMultibranch(String, String, String, Closure) - Method in GitlabSCMProvider
-
Return a closure representation of the SCM section for multibranch pipelines (Jenkins DSL).
- getMultibranch(String, String, String, Closure) - Method in SCMProvider
-
Return a closure representation of the SCM section for multibranch pipelines.
- getPackageName(String) - Method in SCMProviderHandler
-
Utility method which converts file path name to a package name.
- getPluggablePath() - Method in EnvVarProperty
-
Return a string representation of the SCM provider's pluggable search
path.
- getProjectRepositorys(URL, String, String, String) - Method in BitbucketRequestUtil
-
- getPropertiesPath() - Method in EnvVarProperty
-
Return a string representation of the SCM provider's properties file search
path.
- getProperty(String) - Method in EnvVarProperty
-
Return a string representation of the specified property.
- getRepoId(List, String) - Method in GitlabSCMProvider
-
Given a list of repository objects parsed from JSON it looks for a repository with a particular name and if it finds it, it extracts its id
- getScmGerritProfile() - Method in GerritSCMProvider
-
Returns a String representation of the Gerrit server profile name.
- getScmProvider(String, def) - Method in SCMProviderHandler
-
Return an implementation of SCM provider for the provided unique
SCM provider id.
- getScmUrl() - Method in BitbucketSCMProvider
-
Return Bitbucket SCM URL.
- getScmUrl() - Method in GerritSCMProvider
-
Return Gerrit SCM URL.
- getScmUrl() - Method in GitlabSCMProvider
-
Method which returns GitLab repository clone urls for http/https/ssh
- getSshPrivateKeyPath() - Method in EnvVarProperty
-
Return a string representation of the cartridge loaders SCM_SSH_KEY path.
- gitlabContext - Field in GitlabSCMProvider
-
- gitlabEndpoint - Field in GitlabSCMProvider
-
- gitlabPort - Field in GitlabSCMProvider
-
- GitlabRequestUtil - Class in pluggable.scm.gitlab
- GitlabRequestUtil() - Constructor in GitlabRequestUtil
-
- GitlabSCMConstants - Class in pluggable.scm.gitlab
- GitlabSCMConstants() - Constructor in GitlabSCMConstants
-
- GitlabSCMProtocol - Enum in pluggable.scm.gitlab
Enumeration of the protocols supported by GitLab
- GitlabSCMProtocol(String) - Constructor in GitlabSCMProtocol
-
Constructor for class GitlabSCMProtocol
- gitlabSCMProtocol - Field in GitlabSCMProvider
-
- GitlabSCMProvider - Class in pluggable.scm.gitlab
Concrete implementation of SCMProvider interface for Gitlab
- GitlabSCMProvider(int, GitlabSCMProtocol, String, String, GitlabSCMProtocol, String, int, String) - Constructor in GitlabSCMProvider
-
Constructor for class GitlabSCMProvider.
- GitlabSCMProviderFactory - Class in pluggable.scm.gitlab
- GitlabSCMProviderFactory() - Constructor in GitlabSCMProviderFactory
-
- groupExists(String, String, String) - Method in GitlabRequestUtil
-
Calls the makeRequest method with parameters which adjust the HTTP request as to check if a group already exists
- validate() - Method in GitlabSCMProvider
-
Validates that all the fields required to create an object out of this class are not null or empty
- validateProperties(String, String) - Method in BitbucketSCMProviderFactory
-
Return valid value.
- validateProperties(String, String) - Method in GitlabSCMProviderFactory
-
Verify that a value is neither null or empty
- validateRepo(String) - Method in GitlabSCMProvider
-
Validates a repository clone URL by checking the protocol against the GitLabSCM protocol enum (SSH is not allowed at the moment)
- validateRepos(List<String>) - Method in GitlabSCMProvider
-
Given a list of repositories, this method validates each of them by calling the validate method
- validateResponseToGetGroupRequest(List, String) - Method in GitlabSCMProvider
-
Validates the response of an HTTP request to search for a group.
- valueOf(String) - Method in BitbucketSCMProtocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Method in GerritSCMProtocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Method in GitlabSCMProtocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Method in LogLevel
-
Returns the enum constant of this type with the specified name.
- values() - Method in BitbucketSCMProtocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in GerritSCMProtocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in GitlabSCMProtocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in LogLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.