Class SpringCloudServiceTypedConnectorData
java.lang.Object
de.iip_ecosphere.platform.services.spring.SpringCloudServiceTypedData
de.iip_ecosphere.platform.services.spring.SpringCloudServiceTypedConnectorData
- All Implemented Interfaces:
de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor,de.iip_ecosphere.platform.services.TypedDataDescriptor
public class SpringCloudServiceTypedConnectorData
extends SpringCloudServiceTypedData
implements de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor
Implements
TypedDataConnectorDescriptor for Spring Cloud.- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpringCloudServiceTypedConnectorData(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor origin) Creates an instance copy.SpringCloudServiceTypedConnectorData(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor origin, Function<String, String> serviceAdapter) Creates an instance copy.SpringCloudServiceTypedConnectorData(String id, String name, String description, Class<?> type, String service, String function) Creates an instance. -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.services.spring.SpringCloudServiceTypedData
getDescription, getName, getTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.services.TypedDataDescriptor
getDescription, getName, getType
-
Field Details
-
id
-
service
-
function
-
-
Constructor Details
-
SpringCloudServiceTypedConnectorData
SpringCloudServiceTypedConnectorData(String id, String name, String description, Class<?> type, String service, String function) Creates an instance.- Parameters:
id- the id of the connection.name- the name of the data, e.g., the channeldescription- an optional description of the data (may be empty)type- the type, either a standard java class or a dynamic proxy for types declared by the services that are not available in this (execution/platform) environmentservice- the id of the service this connector is pointing tofunction- the function associated to this connector
-
SpringCloudServiceTypedConnectorData
SpringCloudServiceTypedConnectorData(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor origin) Creates an instance copy.- Parameters:
origin- the origin descriptor to copy from
-
SpringCloudServiceTypedConnectorData
SpringCloudServiceTypedConnectorData(de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor origin, Function<String, String> serviceAdapter) Creates an instance copy.- Parameters:
origin- the origin descriptor to copy fromserviceAdapter- optional function that transforms the service entry, may be null for none
-
-
Method Details
-
getId
- Specified by:
getIdin interfacede.iip_ecosphere.platform.services.TypedDataConnectorDescriptor
-
getService
- Specified by:
getServicein interfacede.iip_ecosphere.platform.services.TypedDataConnectorDescriptor
-
getFunction
- Specified by:
getFunctionin interfacede.iip_ecosphere.platform.services.TypedDataConnectorDescriptor
-