Class Connection$


  • public class Connection$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Connection$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      Connection$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Connection from​(ConnectionInfo connectionInfo)
      Create a Connection from provided ConnectionInfo
      Connection from​(java.lang.String input)
      Create a Connection from provided String input
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

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

      • Connection$

        public Connection$()
    • Method Detail

      • from

        public Connection from​(java.lang.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