All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.camel.component.olingo2.internal.Olingo2ApiName Maven / Gradle / Ivy

There is a newer version: 2.15.6
Show newest version
/*
 * Camel ApiName Enumeration generated by camel-component-util-maven-plugin
 * Generated on: Tue Mar 03 12:32:46 UTC 2015
 */
package org.apache.camel.component.olingo2.internal;

import org.apache.camel.util.component.ApiName;

/**
 * Camel {@link ApiName} Enumeration for Component Olingo2
 */
public enum Olingo2ApiName implements ApiName {

    DEFAULT("");

    private final String name;

    private Olingo2ApiName(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }

    public static Olingo2ApiName fromValue(String value) throws IllegalArgumentException {
        for (Olingo2ApiName api : Olingo2ApiName.values()) {
            if (api.name.equals(value)) {
                return api;
            }
        }
        throw new IllegalArgumentException("Invalid value " + value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy