Package org.apache.camel.component.github.consumer

Examples of org.apache.camel.component.github.consumer.CommitConsumer


       
        if (uriSplit.length > 0) {
            switch (ConsumerType.fromUri(uriSplit[0])) {
            case COMMIT:
                if (uriSplit.length >= 2 && uriSplit[1].length() > 1) {
                    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);
View Full Code Here

TOP

Related Classes of org.apache.camel.component.github.consumer.CommitConsumer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.