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: 4.8.1
Show newest version
/*
 * Camel ApiName Enumeration generated by camel-api-component-maven-plugin
 * Generated on: Sun Jun 09 02:47:12 PDT 2019
 */
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 static final Olingo2ApiName[] VALUES = values();
    
    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 (int i = 0; i < VALUES.length; i++) {
            if (VALUES[i].name.equals(value)) {
                return VALUES[i];
            }
        }
        throw new IllegalArgumentException("Invalid value " + value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy