Class 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 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()
      • prefix

        public Prefix prefix()
      • behaviorFactoryClassName

        public java.lang.String behaviorFactoryClassName()
      • 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)