Interface StateHandlerFactory
-
- All Known Implementing Classes:
ConcreteStateHandlerFactory
public interface StateHandlerFactoryStateHandlerFactory describes a factory for the creation of StateHandler implementations.
-
-
Field Summary
Fields Modifier and Type Field Description static StateHandlerFactoryINSTANCEis the singleton instance of the concrete StateHandlerFactory.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateHandlercreateFor(VariationPoint object)creates and returns the StateHandler implementation corresponding to the VariationPoint.
-
-
-
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
-
-