Class ConcreteStateHandlerFactory
- java.lang.Object
-
- UncertaintyVariationModel.statehandler.impl.ConcreteStateHandlerFactory
-
- All Implemented Interfaces:
StateHandlerFactory
public class ConcreteStateHandlerFactory extends Object implements StateHandlerFactory
ConcreteStateHandlerFactory realizes the concrete factory implementation.
-
-
Field Summary
-
Fields inherited from interface UncertaintyVariationModel.statehandler.StateHandlerFactory
INSTANCE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StateHandler
createFor(VariationPoint object)
creates and returns the StateHandler implementation corresponding to the VariationPoint.static StateHandlerFactory
init()
creates and return the instance of the concrete StateHandlerFactory.
-
-
-
Method Detail
-
init
public static StateHandlerFactory init()
creates and return the instance of the concrete StateHandlerFactory.- Returns:
- the created concrete StateHandlerFactory
-
createFor
public StateHandler createFor(VariationPoint object)
Description copied from interface:StateHandlerFactory
creates and returns the StateHandler implementation corresponding to the VariationPoint.- Specified by:
createFor
in interfaceStateHandlerFactory
- Parameters:
object
- the current VariationPoint- Returns:
- the created StateHandler implementation
-
-