Interface Factory

    • Method Detail

      • bind

        boolean bind​(Object implementation)
        Bind an implementation to the factory.
        Parameters:
        implementation - The object to bind.
        Returns:
        true if the factory accept the implementation, otherwise false .
      • unbind

        boolean unbind​(Object implementation)
        Unbinds an implementation from the factory.
        Parameters:
        implementation - The object to unbind.
        Returns:
        true if the factory accept the implementation, otherwise false .
      • reset

        void reset()
        This method has to be implemented by every factory in order to allow a proper restart of ProCAKE. For example, this method might reset the default factory object or other stateful variables.
      • addParameter

        default void addParameter​(AbstractParameter param)
        Adds a parameter to this factory.
        Parameters:
        param - the parameter to add