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

org.apache.camel.component.olingo4.internal.Olingo4ApiName Maven / Gradle / Ivy

There is a newer version: 4.8.0
Show newest version
/*
 * Camel ApiName Enumeration generated by camel-api-component-maven-plugin
 * Generated on: Sat Mar 24 18:59:49 UTC 2018
 */
package org.apache.camel.component.olingo4.internal;

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

/**
 * Camel {@link ApiName} Enumeration for Component Olingo4
 */
public enum Olingo4ApiName implements ApiName {

    DEFAULT("");

    private static final Olingo4ApiName[] VALUES = values();
    
    private final String name;

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

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

    public static Olingo4ApiName fromValue(String value) throws IllegalArgumentException {
        for (int i = 0; i < VALUES.length; i++) {
            if (VALUES[i].name.equals(value)) {
                return VALUES[i];
            }
        }
        throw new IllegalArgumentException("Invalid value " + value);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy