Enum Olingo2AppApiMethod
- java.lang.Object
-
- java.lang.Enum<Olingo2AppApiMethod>
-
- org.apache.camel.component.olingo2.internal.Olingo2AppApiMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<Olingo2AppApiMethod>
,org.apache.camel.support.component.ApiMethod
public enum Olingo2AppApiMethod extends Enum<Olingo2AppApiMethod> implements org.apache.camel.support.component.ApiMethod
CamelApiMethod
Enumeration for org.apache.camel.component.olingo2.api.Olingo2App
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getArgNames()
List<Class<?>>
getArgTypes()
Method
getMethod()
String
getName()
Class<?>
getResultType()
static Olingo2AppApiMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static Olingo2AppApiMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BATCH
public static final Olingo2AppApiMethod BATCH
-
CREATE
public static final Olingo2AppApiMethod CREATE
-
DELETE
public static final Olingo2AppApiMethod DELETE
-
MERGE
public static final Olingo2AppApiMethod MERGE
-
PATCH
public static final Olingo2AppApiMethod PATCH
-
READ
public static final Olingo2AppApiMethod READ
-
UPDATE
public static final Olingo2AppApiMethod UPDATE
-
UREAD
public static final Olingo2AppApiMethod UREAD
-
-
Method Detail
-
values
public static Olingo2AppApiMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Olingo2AppApiMethod c : Olingo2AppApiMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Olingo2AppApiMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.apache.camel.support.component.ApiMethod
-
getResultType
public Class<?> getResultType()
- Specified by:
getResultType
in interfaceorg.apache.camel.support.component.ApiMethod
-
getArgNames
public List<String> getArgNames()
- Specified by:
getArgNames
in interfaceorg.apache.camel.support.component.ApiMethod
-
getArgTypes
public List<Class<?>> getArgTypes()
- Specified by:
getArgTypes
in interfaceorg.apache.camel.support.component.ApiMethod
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfaceorg.apache.camel.support.component.ApiMethod
-
-