Package org.aksw.commons.util.lifecycle
Class LifeCycleBase
- java.lang.Object
-
- org.aksw.commons.util.lifecycle.LifeCycleBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLifeCycleBase.State
-
Field Summary
Fields Modifier and Type Field Description protected LifeCycleBase.Statestate
-
Constructor Summary
Constructors Constructor Description LifeCycleBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidexpectStarted()Call this method in your own of a derived class to ensure the correct statevoidfinish()protected abstract voidfinishActual()voidstart()protected abstract voidstartActual()
-
-
-
Field Detail
-
state
protected LifeCycleBase.State state
-
-