client
1.9.0
jvm
client
/
io.spine.client
/
StateConsumer
State
Consumer
@
FunctionalInterface
(
)
public
interface
StateConsumer
<
S
extends
EntityState
>
implements
Consumer
<
T
>
,
MessageConsumer
<
M
,
C
>
Represents an operation that accepts a state of an entity.
Parameters
<S>
the type of the entity state
Members
Functions
accept
Link copied to clipboard
public
void
accept
(
S
s
,
EmptyContext ignored
)
from
Link copied to clipboard
public
static
StateConsumer
<
S
>
from
<
S
extends
EntityState
>
(
Consumer
<
S
>
consumer
)
Inherited functions
accept
Link copied to clipboard
public
abstract
void
accept
(
T
p
)
and
Then
Link copied to clipboard
public
BiConsumer
<
T
,
U
>
andThen
(
BiConsumer
<
? extends
Object
,
? extends
Object
>
after
)
public
Consumer
<
T
>
andThen
(
Consumer
<
? extends
Object
>
after
)