Package org.jenkinsci.plugins
Class GitHubRepositoryName
java.lang.Object
org.jenkinsci.plugins.GitHubRepositoryName
Uniquely identifies a repository on GitHub.
This is a simplified version of the file
https://github.com/jenkinsci/github-plugin/blob/master/src/main/java/com/cloudbees/jenkins/GitHubRepositoryName.java
It has been duplicated to avoid introducing a dependency on "github-plugin"
- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GitHubRepositoryName
CreateGitHubRepositoryName
from URLtoString()
-
Field Details
-
host
-
userName
-
repositoryName
-
-
Constructor Details
-
GitHubRepositoryName
-
-
Method Details
-
create
CreateGitHubRepositoryName
from URL- Parameters:
url
- must be non-null- Returns:
- parsed
GitHubRepositoryName
or null if it cannot be parsed from the specified URL
-
toString
-