Class ConnectionFinder
java.lang.Object
org.eclipse.lemminx.customservice.synapse.connectors.ConnectionFinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.jsonrpc.messages.Either<Connections,Map<String, Connections>> findConnections(String uri, String name, ConnectorHolder connectorHolder, boolean isLegacyProject) Find connections for a given uri and name.
-
Constructor Details
-
ConnectionFinder
public ConnectionFinder()
-
-
Method Details
-
findConnections
public static org.eclipse.lsp4j.jsonrpc.messages.Either<Connections,Map<String, findConnectionsConnections>> (String uri, String name, ConnectorHolder connectorHolder, boolean isLegacyProject) Find connections for a given uri and name. If the name is null, it will return all the connections. Otherwise, it will return the connections for the given connector.- Parameters:
uri- uri of the filename- name of the connection (Optional)connectorHolder- available connectors- Returns:
- connections
-