Class ConnectorPlugin

java.lang.Object
com.priint.pubserver.plugin.entitydata.ConnectorPlugin
All Implemented Interfaces:
GetIdentifier, Serializable

public class ConnectorPlugin extends Object implements 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:
  • Constructor Details

    • ConnectorPlugin

      public ConnectorPlugin()
  • Method Details

    • getIdentifier

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

      public void setIdentifier(String identifier)
      Parameters:
      identifier -
    • getLabel

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

      public void setLabel(String label)
      Parameters:
      label - see getLabel()
    • getType

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

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

      public List<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(List<String> instances)
      Parameters:
      instances - see getInstances()
    • toString

      public String toString()
      Overrides:
      toString in class Object