Class ConnectorPlugin
- java.lang.Object
-
- com.priint.pubserver.plugin.entitydata.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.StringgetIdentifier()java.util.List<java.lang.String>getInstances()Get the names of the configured instances of the connector plug-in.java.lang.StringgetLabel()java.lang.StringgetType()Reserved for future use.voidsetIdentifier(java.lang.String identifier)voidsetInstances(java.util.List<java.lang.String> instances)voidsetLabel(java.lang.String label)voidsetType(java.lang.String type)Reserved for future use.java.lang.StringtoString()
-
-
-
Method Detail
-
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifierin interfaceGetIdentifier- 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- seegetLabel()
-
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- seegetType()
-
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- seegetInstances()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-