Class AbstractMetadata

    • Constructor Detail

      • AbstractMetadata

        protected AbstractMetadata​(java.lang.String name)
        Initializes the AbstractMetadata.
        Parameters:
        name - a descriptive name for this component. Available via AbstractOpenemsBackendComponent.getName()
    • Method Detail

      • setInitialized

        protected void setInitialized()
        Make sure to call this method once initialized!.
      • isInitialized

        public final boolean isInitialized()
        Description copied from interface: Metadata
        Was the Metadata service fully initialized?.

        The service might take some time in the beginning to establish a connection or to cache data from an external database.

        Specified by:
        isInitialized in interface Metadata
        Returns:
        true if it is initialized