return new CommitConsumer(uriSplit[1], this, processor);
} else {
throw new IllegalArgumentException("Must provide a branch name when using the COMMIT consumer. github://commit/[branch name]?[options]");
}
case PULLREQUEST:
return new PullRequestConsumer(this, processor);
case PULLREQUESTCOMMENT:
return new PullRequestCommentConsumer(this, processor);
case TAG:
return new TagConsumer(this, processor);
default: