@ Override public IssueServiceConfiguration getConfigurationByName ( String name ) { // Parsing of the name String [ ] tokens = StringUtils . split ( name , GitHubGitConfiguration . CONFIGURATION_REPOSITORY_SEPARATOR ) ; if ( tokens == null || tokens . length != 2 ) { throw new IllegalStateException ( "The GitHub issue configuration identifier name is expected using configuration:repository as a format" ) ; } String configuration = tokens [ 0 ] ; String repository = tokens [ 1 ] ; return new GitHubIssueServiceConfiguration ( configurationService . getConfiguration ( configuration ) , repository ) ; }
A GitHub configuration name