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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()Gets the items.voidRegister a new item.voidSets the list of items.voidunregister(T item) Unregister a item.
-
Constructor Details
-
AbstractCompositeItems
public AbstractCompositeItems()Constructs instance with an empty item list.
-
-
Method Details
-
setItems
Sets the list of items. This clears all existing items.- Parameters:
items- the new items
-
register
Register a new item.- Parameters:
item- the item
-
unregister
Unregister a item.- Parameters:
item- the item
-
getItems
Gets the items.- Returns:
- the items
-