E - the external state typeI - the internal state typepublic interface ContentProvider<E,I>
| Modifier and Type | Method and Description |
|---|---|
E |
combine(List<E> states)
Combines several states into a single state representation.
|
Class<E> |
getExternalType()
Returns the class the represents the state as seen by the framework client.
|
Class<I> |
getInternalType()
Returns the class that represents the state as seen by the provider.
|
E |
getState(StateContainer<I> container)
Returns the state attached to the provided container.
|
void |
setState(StateContainer<I> container,
E state)
Update the state container with the provided state.
|
E combine(List<E> states)
states - the various states to combinevoid setState(StateContainer<I> container, E state)
container - the state containerstate - the stateE getState(StateContainer<I> container)
container - the containerClass<E> getExternalType()
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.