Package csw.framework.javadsl
Class JComponentInfo$
- java.lang.Object
-
- csw.framework.javadsl.JComponentInfo$
-
public class JComponentInfo$ extends java.lang.Object
Helper instance for Java to createComponentInfo
-
-
Field Summary
Fields Modifier and Type Field Description static JComponentInfo$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description JComponentInfo$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentInfo
from(java.lang.String name, ComponentType componentType, Prefix prefix, java.lang.String className, LocationServiceUsage locationServiceUsage, java.util.Set<Connection> connections, java.time.Duration initializeTimeout)
The information needed to create a component.
-
-
-
Field Detail
-
MODULE$
public static final JComponentInfo$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
from
public ComponentInfo from(java.lang.String name, ComponentType componentType, Prefix prefix, java.lang.String className, LocationServiceUsage locationServiceUsage, java.util.Set<Connection> connections, java.time.Duration initializeTimeout)
The information needed to create a component. This class is created after de-serializing the config file for the component.- Parameters:
name
- the name of the componentcomponentType
- the type of the component as defined byComponentType
prefix
- identifies the subsystemclassName
- specifies the component to be created by name of the class of it's factorylocationServiceUsage
- specifies component's usage of location serviceconnections
- set of connections that will be used by this component for interactioninitializeTimeout
- the timeout value used while initializing a component- Returns:
- an instance of ComponentInfo
-
-