Class ComponentInfo
- java.lang.Object
-
- csw.command.client.models.framework.ComponentInfo
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public final class ComponentInfo extends java.lang.Object implements scala.Product, java.io.Serializable
The information needed to create a component. This class is created after de-serializing the config file for the component.param: name the name of the component param: componentType : the type of the component as defined by
ComponentType
param: prefix identifies the subsystem param: behaviorFactoryClassName : specifies the component to be created by name of the class of it's factory param: locationServiceUsage : specifies component's usage of location service param: connections : set of connections that will be used by this component for interaction param: initializeTimeout : the timeout value used while initializing a component- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentInfo(java.lang.String name, ComponentType componentType, Prefix prefix, java.lang.String behaviorFactoryClassName, LocationServiceUsage locationServiceUsage, scala.collection.immutable.Set<Connection> connections, scala.concurrent.duration.FiniteDuration initializeTimeout)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
behaviorFactoryClassName()
abstract static boolean
canEqual(java.lang.Object that)
static play.api.libs.json.OFormat<ComponentInfo>
componentInfoFormat()
ComponentType
componentType()
scala.collection.immutable.Set<Connection>
connections()
abstract static boolean
equals(java.lang.Object that)
static play.api.libs.json.Reads<scala.concurrent.duration.FiniteDuration>
finiteDurationReads()
static play.api.libs.json.Writes<scala.concurrent.duration.FiniteDuration>
finiteDurationWrites()
java.util.List<Connection>
getConnections()
Java API to get the list of connections for the assemblyscala.concurrent.duration.FiniteDuration
initializeTimeout()
LocationServiceUsage
locationServiceUsage()
java.lang.String
name()
Prefix
prefix()
abstract static int
productArity()
abstract static java.lang.Object
productElement(int n)
static java.lang.String
productElementName(int n)
static scala.collection.Iterator<java.lang.String>
productElementNames()
static scala.collection.Iterator<java.lang.Object>
productIterator()
static java.lang.String
productPrefix()
-
-
-
Constructor Detail
-
ComponentInfo
public ComponentInfo(java.lang.String name, ComponentType componentType, Prefix prefix, java.lang.String behaviorFactoryClassName, LocationServiceUsage locationServiceUsage, scala.collection.immutable.Set<Connection> connections, scala.concurrent.duration.FiniteDuration initializeTimeout)
-
-
Method Detail
-
finiteDurationReads
public static play.api.libs.json.Reads<scala.concurrent.duration.FiniteDuration> finiteDurationReads()
-
finiteDurationWrites
public static play.api.libs.json.Writes<scala.concurrent.duration.FiniteDuration> finiteDurationWrites()
-
componentInfoFormat
public static play.api.libs.json.OFormat<ComponentInfo> componentInfoFormat()
-
canEqual
public abstract static boolean canEqual(java.lang.Object that)
-
equals
public abstract static boolean equals(java.lang.Object that)
-
productArity
public abstract static int productArity()
-
productElement
public abstract static java.lang.Object productElement(int n)
-
productIterator
public static scala.collection.Iterator<java.lang.Object> productIterator()
-
productPrefix
public static java.lang.String productPrefix()
-
productElementName
public static java.lang.String productElementName(int n)
-
productElementNames
public static scala.collection.Iterator<java.lang.String> productElementNames()
-
name
public java.lang.String name()
-
componentType
public ComponentType componentType()
-
prefix
public Prefix prefix()
-
behaviorFactoryClassName
public java.lang.String behaviorFactoryClassName()
-
locationServiceUsage
public LocationServiceUsage locationServiceUsage()
-
connections
public scala.collection.immutable.Set<Connection> connections()
-
initializeTimeout
public scala.concurrent.duration.FiniteDuration initializeTimeout()
-
getConnections
public java.util.List<Connection> getConnections()
Java API to get the list of connections for the assembly- Returns:
- (undocumented)
-
-