Interface StringExpressionManager

    • Method Detail

      • registerExpression

        MaleStringExpressionSocket registerExpression​(@Nonnull
                                                      StringExpressionBean expression)
                                               throws java.lang.IllegalArgumentException
        Remember a NamedBean Object created outside the manager. This method creates a MaleStringExpressionSocket for the action.
        Parameters:
        expression - the bean
        Returns:
        the male socket for this expression
        Throws:
        java.lang.IllegalArgumentException - if the expression has an invalid system name
      • getAutoSystemName

        java.lang.String getAutoSystemName()
        Create a new system name for an Expression.
        Returns:
        a new system name
      • createFemaleSocket

        FemaleStringExpressionSocket createFemaleSocket​(Base parent,
                                                        FemaleSocketListener listener,
                                                        java.lang.String socketName)
        Create a female socket for analog expressions
        Parameters:
        parent - the parent that will own the new female socket
        listener - the listener for the female socket
        socketName - the name of the new socket
        Returns:
        the new female socket
      • getExpressionClasses

        java.util.Map<Category,​java.util.List<java.lang.Class<? extends Base>>> getExpressionClasses()
        Get a set of classes that implements the DigitalAction interface.
        Returns:
        a set of entries with category and class
      • deleteStringExpression

        void deleteStringExpression​(MaleStringExpressionSocket x)
        Delete StringExpression by removing it from the manager. The Expression must first be deactivated so it stops processing.
        Parameters:
        x - the StringExpression to delete