void (CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status status) { switch (myBuildStatus) { case ERRORS -> { if (CmdlineRemoteProto.Message.BuilderMessage.BuildEvent.Status.CANCELED.equals(status)) { myBuildStatus = status; } } case CANCELED -> { } default -> myBuildStatus = status; } }