Package csw.location.models
Class Connection$
- java.lang.Object
-
- csw.location.models.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 play.api.libs.json.Reads<Connection>
connectionReads()
play.api.libs.json.Writes<Connection>
connectionWrites()
Connection
from(ConnectionInfo connectionInfo)
Create a Connection from provided ConnectionInfoConnection
from(java.lang.String input)
Create a Connection from provided String input
-
-
-
Field Detail
-
MODULE$
public static final Connection$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
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
-
connectionReads
public play.api.libs.json.Reads<Connection> connectionReads()
-
connectionWrites
public play.api.libs.json.Writes<Connection> connectionWrites()
-
-