Interface StateHandlerFactory

  • All Known Implementing Classes:
    ConcreteStateHandlerFactory

    public interface StateHandlerFactory
    StateHandlerFactory describes a factory for the creation of StateHandler implementations.
    • Field Detail

      • INSTANCE

        static final StateHandlerFactory INSTANCE
        is the singleton instance of the concrete StateHandlerFactory.
    • Method Detail

      • createFor

        StateHandler createFor​(VariationPoint object)
        creates and returns the StateHandler implementation corresponding to the VariationPoint.
        Parameters:
        object - the current VariationPoint
        Returns:
        the created StateHandler implementation
        Throws:
        IllegalStateException - if no StateHandlerImplementation can be created