Interface IExternalConnectionProvider
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ISeparatedTestConnectionProvider
- All Known Implementing Classes:
SeparatedTestConnectionProvider
The Interface IExternalConnectionProvider.
- Since:
- Oct 20, 2020
- Version:
- Oct 20, 2020
- Author:
- jrich
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe Enum JSONConnectionSerializationMode. -
Method Summary
Modifier and TypeMethodDescriptiongetConnection(IOptimizationElement fromElement, IOptimizationElement toElement, IResource visitor) Gets the connection.getConnections(Map<IOptimizationElement, List<IOptimizationElement>> desiredConnections, IConnectionProviderCaller caller) Gets the connections.Gets the JSON connection serialization mode.
-
Method Details
-
getConnection
List<INodeConnectorItem> getConnection(IOptimizationElement fromElement, IOptimizationElement toElement, IResource visitor) Gets the connection. Further, a list of arbitrary additional connections can be provided to prevent this method to be called again. This makes sense if an other connection will be also used with a high likeliness.- Parameters:
fromElement- the from elementtoElement- the to elementvisitor- the visitor- Returns:
- the connection
-
getConnections
List<INodeConnectorItem> getConnections(Map<IOptimizationElement, List<IOptimizationElement>> desiredConnections, IConnectionProviderCaller caller) Gets the connections.- Parameters:
desiredConnections- the desired connectionscaller- the caller- Returns:
- the connections
-
getJSONConnectionSerializationMode
IExternalConnectionProvider.JSONConnectionSerializationMode getJSONConnectionSerializationMode()Gets the JSON connection serialization mode.- Returns:
- the JSON connection serialization mode
-