Class ConnectorPlugin

  • All Implemented Interfaces:
    GetIdentifier, java.io.Serializable

    public class ConnectorPlugin
    extends java.lang.Object
    implements java.io.Serializable, GetIdentifier
    Representation of a connector plug-in and its instances.

    The connector is described by plug-in library name, plug-in mapped name, and additionally contains a list of instance names.

    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectorPlugin()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getIdentifier()  
      java.util.List<java.lang.String> getInstances()
      Get the names of the configured instances of the connector plug-in.
      java.lang.String getLabel()  
      java.lang.String getType()
      Reserved for future use.
      void setIdentifier​(java.lang.String identifier)  
      void setInstances​(java.util.List<java.lang.String> instances)  
      void setLabel​(java.lang.String label)  
      void setType​(java.lang.String type)
      Reserved for future use.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectorPlugin

        public ConnectorPlugin()
    • Method Detail

      • getIdentifier

        public java.lang.String getIdentifier()
        Specified by:
        getIdentifier in interface GetIdentifier
        Returns:
        String identifier for the plug-in library or an empty string.
      • setIdentifier

        public void setIdentifier​(java.lang.String identifier)
        Parameters:
        identifier -
      • getLabel

        public java.lang.String getLabel()
        Returns:
        Display label for the plug-in (the plug-in mapped name).
      • setLabel

        public void setLabel​(java.lang.String label)
        Parameters:
        label - see getLabel()
      • getType

        public java.lang.String getType()
        Reserved for future use.
        Returns:
        Type string or empty string
      • setType

        public void setType​(java.lang.String type)
        Reserved for future use.
        Parameters:
        type - see getType()
      • getInstances

        public java.util.List<java.lang.String> getInstances()
        Get the names of the configured instances of the connector plug-in.
        Returns:
        list of instance entry keys or empty list
      • setInstances

        public void setInstances​(java.util.List<java.lang.String> instances)
        Parameters:
        instances - see getInstances()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object