Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.camel.component.olingo4.internal.Olingo4AppApiMethod Maven / Gradle / Ivy
/*
* Camel ApiMethod 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 java.lang.reflect.Method;
import java.util.List;
import org.apache.camel.component.olingo4.api.Olingo4App;
import org.apache.camel.util.component.ApiMethod;
import org.apache.camel.util.component.ApiMethodArg;
import org.apache.camel.util.component.ApiMethodImpl;
import static org.apache.camel.util.component.ApiMethodArg.arg;
/**
* Camel {@link ApiMethod} Enumeration for org.apache.camel.component.olingo4.api.Olingo4App
*/
public enum Olingo4AppApiMethod implements ApiMethod {
BATCH(
void.class,
"batch",
arg("edm", org.apache.olingo.commons.api.edm.Edm.class),
arg("data", Object.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class)),
CREATE(
void.class,
"create",
arg("edm", org.apache.olingo.commons.api.edm.Edm.class),
arg("resourcePath", String.class),
arg("data", Object.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class)),
DELETE(
void.class,
"delete",
arg("resourcePath", String.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class)),
MERGE(
void.class,
"merge",
arg("edm", org.apache.olingo.commons.api.edm.Edm.class),
arg("resourcePath", String.class),
arg("data", Object.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class)),
PATCH(
void.class,
"patch",
arg("edm", org.apache.olingo.commons.api.edm.Edm.class),
arg("resourcePath", String.class),
arg("data", Object.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class)),
READ(
void.class,
"read",
arg("edm", org.apache.olingo.commons.api.edm.Edm.class),
arg("resourcePath", String.class),
arg("queryParams", java.util.Map.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class)),
UPDATE(
void.class,
"update",
arg("edm", org.apache.olingo.commons.api.edm.Edm.class),
arg("resourcePath", String.class),
arg("data", Object.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class)),
UREAD(
void.class,
"uread",
arg("edm", org.apache.olingo.commons.api.edm.Edm.class),
arg("resourcePath", String.class),
arg("queryParams", java.util.Map.class),
arg("responseHandler", org.apache.camel.component.olingo4.api.Olingo4ResponseHandler.class));
private final ApiMethod apiMethod;
private Olingo4AppApiMethod(Class> resultType, String name, ApiMethodArg... args) {
this.apiMethod = new ApiMethodImpl(Olingo4App.class, resultType, name, args);
}
@Override
public String getName() { return apiMethod.getName(); }
@Override
public Class> getResultType() { return apiMethod.getResultType(); }
@Override
public List getArgNames() { return apiMethod.getArgNames(); }
@Override
public List> getArgTypes() { return apiMethod.getArgTypes(); }
@Override
public Method getMethod() { return apiMethod.getMethod(); }
}