Package com.variant.spi
Interface QualificationLifecycleHook
- All Superinterfaces:
LifecycleHook<Boolean,QualificationLifecycleEvent>
public interface QualificationLifecycleHook
extends LifecycleHook<Boolean,QualificationLifecycleEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Class<QualificationLifecycleEvent>Implementation must tell the server what life cycle event type(s) it wants to be posted on.post(QualificationLifecycleEvent event) The first hook on the chain that returns a non-empty Optional short-circuits the rest of the chain.
-
Method Details
-
getLifecycleEventClass
Description copied from interface:LifecycleHookImplementation must tell the server what life cycle event type(s) it wants to be posted on. If this method returns a super-type, this hook will be posted for it and all its descendant event types.- Specified by:
getLifecycleEventClassin interfaceLifecycleHook<Boolean,QualificationLifecycleEvent> - Returns:
- A
Classobject associated with the life cycle event type(s) of interest.
-
post
The first hook on the chain that returns a non-empty Optional short-circuits the rest of the chain.- Specified by:
postin interfaceLifecycleHook<Boolean,QualificationLifecycleEvent> - Throws:
Exception- Since:
- 0.7
-