Class AbstractConnectorInfo
- java.lang.Object
-
- org.identityconnectors.framework.impl.api.AbstractConnectorInfo
-
- All Implemented Interfaces:
ConnectorInfo
- Direct Known Subclasses:
LocalConnectorInfoImpl
,RemoteConnectorInfoImpl
public abstract class AbstractConnectorInfo extends Object implements ConnectorInfo
Common base class shared between local and remote implementations
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractConnectorInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIConfiguration
createDefaultAPIConfiguration()
Loads theConnector
andConfiguration
class in order to determine the proper default configuration parameters.String
getConnectorCategory()
Get the category this connector belongs to.String
getConnectorCategoryKey()
String
getConnectorDisplayName()
Returns a friendly name suitable for display in the UI.String
getConnectorDisplayNameKey()
ConnectorKey
getConnectorKey()
Uniquely identifies this connector in a given installation.APIConfigurationImpl
getDefaultAPIConfiguration()
ConnectorMessages
getMessages()
Returns the connector messages for this connector.void
setConnectorCategoryKey(String key)
void
setConnectorDisplayNameKey(String name)
void
setConnectorKey(ConnectorKey key)
void
setDefaultAPIConfiguration(APIConfigurationImpl api)
void
setMessages(ConnectorMessages messages)
-
-
-
Method Detail
-
getMessages
public final ConnectorMessages getMessages()
Description copied from interface:ConnectorInfo
Returns the connector messages for this connector.- Specified by:
getMessages
in interfaceConnectorInfo
- Returns:
- The connector messages for this connector.
-
setMessages
public final void setMessages(ConnectorMessages messages)
-
getConnectorDisplayName
public final String getConnectorDisplayName()
Description copied from interface:ConnectorInfo
Returns a friendly name suitable for display in the UI. The name will be localized using theCurrentLocale
.- Specified by:
getConnectorDisplayName
in interfaceConnectorInfo
- Returns:
- The friendly name
-
getConnectorDisplayNameKey
public final String getConnectorDisplayNameKey()
-
setConnectorDisplayNameKey
public final void setConnectorDisplayNameKey(String name)
-
getConnectorCategory
public final String getConnectorCategory()
Description copied from interface:ConnectorInfo
Get the category this connector belongs to.- Specified by:
getConnectorCategory
in interfaceConnectorInfo
- Returns:
- category name.
-
getConnectorCategoryKey
public final String getConnectorCategoryKey()
-
setConnectorCategoryKey
public final void setConnectorCategoryKey(String key)
-
getConnectorKey
public final ConnectorKey getConnectorKey()
Description copied from interface:ConnectorInfo
Uniquely identifies this connector in a given installation.- Specified by:
getConnectorKey
in interfaceConnectorInfo
- Returns:
- The connector key
-
setConnectorKey
public final void setConnectorKey(ConnectorKey key)
-
createDefaultAPIConfiguration
public final APIConfiguration createDefaultAPIConfiguration()
Description copied from interface:ConnectorInfo
Loads theConnector
andConfiguration
class in order to determine the proper default configuration parameters.- Specified by:
createDefaultAPIConfiguration
in interfaceConnectorInfo
-
getDefaultAPIConfiguration
public final APIConfigurationImpl getDefaultAPIConfiguration()
-
setDefaultAPIConfiguration
public final void setDefaultAPIConfiguration(APIConfigurationImpl api)
-
-