- java.lang.Object
-
- org.apache.camel.support.component.ApiCollection<E,T>
-
-
Constructor Summary
Constructors Constructor Description ApiCollection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Map<E,ApiMethodHelper<? extends ApiMethod>>getApiHelpers()Map<Class<? extends ApiMethod>,E>getApiMethods()EgetApiName(Class<? extends ApiMethod> apiMethod)Set<String>getApiNames()Returns a list of API name strings.abstract TgetEndpointConfiguration(E apiName)Creates an endpoint configuration for a particular APIApiMethodHelper<? extends ApiMethod>getHelper(E apiName)Returns aApiMethodHelperfor a particular API.protected voidsetApiHelpers(Map<E,ApiMethodHelper<? extends ApiMethod>> apiHelpers)protected voidsetApiMethods(Map<Class<? extends ApiMethod>,E> apiMethods)
-
-
-
Method Detail
-
getApiHelpers
public final Map<E,ApiMethodHelper<? extends ApiMethod>> getApiHelpers()
-
getHelper
public final ApiMethodHelper<? extends ApiMethod> getHelper(E apiName)
Returns aApiMethodHelperfor a particular API.- Parameters:
apiName- name of the API- Returns:
- helper class to work with
ApiMethod
-
getApiNames
public final Set<String> getApiNames()
Returns a list of API name strings.- Returns:
- list of API names.
-
getEndpointConfiguration
public abstract T getEndpointConfiguration(E apiName)
Creates an endpoint configuration for a particular API- Parameters:
apiName- name of the API.- Returns:
- Endpoint configuration object for the API.
-
setApiHelpers
protected final void setApiHelpers(Map<E,ApiMethodHelper<? extends ApiMethod>> apiHelpers)
-
-