Activatable.State¶
-
abstract class
State
¶ A utility base class which can be used to implement a state pattern which fulfills the
Activatable
interface. Classes implementingActivatable
can create own state classes derived from this one to inherit the default behavior foractivate()
anddeactivate()
. The base implementations ofactivate()
anddeactivate()
always throw anIllegalStateException
.- Author
jwienke