Package csw.location.api.models
Class Connection$
java.lang.Object
csw.location.api.models.Connection$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Connection$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(ConnectionInfo connectionInfo) Create a Connection from provided ConnectionInfoCreate a Connection from provided String input
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Connection$
public Connection$()
-
-
Method Details
-
from
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
Create a Connection from provided ConnectionInfo- Parameters:
connectionInfo
- represents component name, component type and connection type- Returns:
- A Connection created from connectionInfo
-