Class AbstractCompositeItems<T>
java.lang.Object
org.springframework.statemachine.support.AbstractCompositeItems<T>
- Type Parameters:
- T- the type of the item
- Direct Known Subclasses:
- CompositeActionListener,- CompositeStateMachineModelVerifier,- CompositeStateMachineMonitor
Base implementation for all composite items.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetItems()Gets the items.voidRegister a new item.voidSets the list of items.voidunregister(T item) Unregister a item.
- 
Constructor Details- 
AbstractCompositeItemspublic AbstractCompositeItems()Constructs instance with an empty item list.
 
- 
- 
Method Details- 
setItemsSets the list of items. This clears all existing items.- Parameters:
- items- the new items
 
- 
registerRegister a new item.- Parameters:
- item- the item
 
- 
unregisterUnregister a item.- Parameters:
- item- the item
 
- 
getItemsGets the items.- Returns:
- the items
 
 
-