org.apache.camel.component.linkedin.internal.LinkedInApiName Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camel-linkedin Show documentation
Show all versions of camel-linkedin Show documentation
Camel Component for LinkedIn
/*
* Camel ApiName Enumeration generated by camel-api-component-maven-plugin
* Generated on: Sat Aug 15 16:30:00 EDT 2015
*/
package org.apache.camel.component.linkedin.internal;
import org.apache.camel.util.component.ApiName;
/**
* Camel {@link ApiName} Enumeration for Component LinkedIn
*/
public enum LinkedInApiName implements ApiName {
COMMENTS("comments"),
COMPANIES("companies"),
GROUPS("groups"),
JOBS("jobs"),
PEOPLE("people"),
POSTS("posts"),
SEARCH("search");
private final String name;
private LinkedInApiName(String name) {
this.name = name;
}
@Override
public String getName() {
return name;
}
public static LinkedInApiName fromValue(String value) throws IllegalArgumentException {
for (LinkedInApiName api : LinkedInApiName.values()) {
if (api.name.equals(value)) {
return api;
}
}
throw new IllegalArgumentException("Invalid value " + value);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy