server
1.9.0
jvm
server
/
io.spine.server.command.model
/
DuplicateHandlerCheck
Duplicate
Handler
Check
public
final
class
DuplicateHandlerCheck
Ensures that there are no duplicating command handling methods among passed classes.
Members
Functions
add
Link copied to clipboard
public
void
add
(
Class
<
? extends
Object
>
cls
)
Verifies if the passed raw Java class is accepted by
Model
as a valid command handling class.
check
Link copied to clipboard
public
void
check
(
Iterable
<
Class
<
? extends
Object
>
>
classes
)
Performs the check for the passed classes.
new
Instance
Link copied to clipboard
public
static
DuplicateHandlerCheck
newInstance
(
)
Creates a new instance of the check.