@ApiStatus.Internal
public interface StateValue
State for a single StateValueHost.
This is an internal inventory-framework API that should not be used from outside of this library. No compatibility guarantees are provided.
| Modifier and Type | Method and Description |
|---|---|
@UnknownNullability java.lang.Object |
get()
The current state value.
|
long |
getId()
The id of this state on its current host.
|
State<?> |
getState()
The state who holds this value.
|
void |
set(java.lang.Object value)
Sets the new state value.
|
long getId()
State<?> getState()
@UnknownNullability java.lang.Object get()
The value returned and consistency with values returned by the same earlier is unknown as this is implementation defined.
void set(java.lang.Object value)
value - The new value.StateException - If this value can't be set.