java.lang.Object
org.eclipse.lemminx.customservice.synapse.connectors.ConnectionFinder

public class ConnectionFinder extends Object
  • Constructor Details

    • ConnectionFinder

      public ConnectionFinder()
  • Method Details

    • findConnections

      public static 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. 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 file
      name - name of the connection (Optional)
      connectorHolder - available connectors
      Returns:
      connections