File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
server/src/main/java/org/spine3/server/command Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,7 @@ private enum LogSingleton {
344344 public static class Builder {
345345
346346 private CommandStore commandStore ;
347+ @ Nullable
347348 private CommandScheduler scheduler ;
348349
349350 public CommandBus build () {
@@ -352,6 +353,9 @@ public CommandBus build() {
352353 return commandBus ;
353354 }
354355
356+ /**
357+ * Sets a command store, which is required.
358+ */
355359 public Builder setCommandStore (CommandStore commandStore ) {
356360 this .commandStore = commandStore ;
357361 return this ;
@@ -361,6 +365,9 @@ public CommandStore getCommandStore() {
361365 return commandStore ;
362366 }
363367
368+ /**
369+ * Sets a command scheduler, which is not required.
370+ */
364371 public Builder setScheduler (CommandScheduler scheduler ) {
365372 this .scheduler = scheduler ;
366373 return this ;
You can’t perform that action at this time.
0 commit comments