Class Connection$

java.lang.Object
csw.location.api.models.Connection$

public class Connection$ extends Object
  • Field Details

    • MODULE$

      public static final Connection$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Connection$

      public Connection$()
  • Method Details

    • from

      public Connection from(String input)
      Create a Connection from provided String input

      Parameters:
      input - is the string representation of connection e.g. TromboneAssembly-assembly-akka
      Returns:
      a Connection model created from string
    • from

      public Connection from(ConnectionInfo connectionInfo)
      Create a Connection from provided ConnectionInfo

      Parameters:
      connectionInfo - represents component name, component type and connection type
      Returns:
      A Connection created from connectionInfo