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 Details

    • id

      private String id
    • service

      private String service
    • function

      private String 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 channel
      description - 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) environment
      service - the id of the service this connector is pointing to
      function - 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 from
      serviceAdapter - optional function that transforms the service entry, may be null for none
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor
    • getService

      public String getService()
      Specified by:
      getService in interface de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor
    • getFunction

      public String getFunction()
      Specified by:
      getFunction in interface de.iip_ecosphere.platform.services.TypedDataConnectorDescriptor