|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorDescriptor
Method Summary | |
---|---|
DiagramConnector |
createConnectorInstance()
|
java.lang.String |
getArtifactId()
|
java.lang.Class<? extends ConnectorConfiguration> |
getConfigurationClass()
The method returns the ConnectorConfiguration class that the connector use. |
java.lang.String |
getDescription()
|
java.lang.String |
getGroupId()
|
java.util.List<Mapping> |
getMappings()
It return set of mappings "tag name to class" used by xstream library to serialize and deserialize ConnectorConfiguration |
java.lang.String |
getName()
|
ConnectorInterfaceEnum |
getPreferredInterface()
Return which type of interface to the described connector (static or dynamic) should be preferred by libraries using the connector. |
java.util.EnumSet<ConnectorInterfaceEnum> |
getProvidedInterfaces()
|
java.lang.String |
getVersion()
|
void |
setArtifactId(java.lang.String artifactId)
|
void |
setConfigurationClass(java.lang.Class<? extends ConnectorConfiguration> configurationClass)
The method sets the ConnectorConfiguration class that the connector use. |
void |
setDescription(java.lang.String description)
|
void |
setGroupId(java.lang.String groupId)
|
void |
setMappings(java.util.List<Mapping> mappings)
It sets mappings "tag name to class" used by xstream library to serialize and deserialize ConnectorConfiguration |
void |
setName(java.lang.String name)
|
void |
setPreferredInterface(ConnectorInterfaceEnum preferredInterface)
Sets the preferred interface. |
void |
setProvidedInterfaces(java.util.EnumSet<ConnectorInterfaceEnum> providedInterfaces)
|
void |
setVersion(java.lang.String version)
|
Method Detail |
---|
DiagramConnector createConnectorInstance() throws ConnectorException
ConnectorException
java.lang.String getGroupId()
void setGroupId(java.lang.String groupId)
java.lang.String getArtifactId()
void setArtifactId(java.lang.String artifactId)
java.lang.String getVersion()
void setVersion(java.lang.String version)
java.lang.String getDescription()
void setDescription(java.lang.String description)
java.util.EnumSet<ConnectorInterfaceEnum> getProvidedInterfaces()
void setProvidedInterfaces(java.util.EnumSet<ConnectorInterfaceEnum> providedInterfaces)
ConnectorInterfaceEnum getPreferredInterface()
void setPreferredInterface(ConnectorInterfaceEnum preferredInterface)
preferredInterface
- java.lang.String getName()
void setName(java.lang.String name)
java.lang.Class<? extends ConnectorConfiguration> getConfigurationClass()
ConnectorConfiguration
void setConfigurationClass(java.lang.Class<? extends ConnectorConfiguration> configurationClass)
configurationClass
- to set.java.util.List<Mapping> getMappings()
ConnectorConfiguration
void setMappings(java.util.List<Mapping> mappings)
ConnectorConfiguration
mappings
- to be set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |