Class IpocsLightManager

    • Method Detail

      • validSystemNameConfig

        public boolean validSystemNameConfig​(@Nonnull
                                             java.lang.String systemName)
        Description copied from interface: LightManager
        Test if parameter is a valid system name for current configuration.
        Parameters:
        systemName - the system name
        Returns:
        true if valid; false otherwise
      • createNewLight

        @Nonnull
        protected Light createNewLight​(@Nonnull
                                       java.lang.String systemName,
                                       java.lang.String userName)
                                throws java.lang.IllegalArgumentException
        Description copied from class: AbstractLightManager
        Internal method to invoke the factory, after all the logic for returning an existing Light has been invoked.
        Specified by:
        createNewLight in class AbstractLightManager
        Parameters:
        systemName - the system name to use for this light
        userName - the user name to use for this light
        Returns:
        the new light or null if unsuccessful
        Throws:
        java.lang.IllegalArgumentException - something failed in the names