@CommandHandler public void handle(RequestFirmwareUpdateCommand command) { checkCommandAllowed(command.getIdentityContext(), command.getClass()); checkCommunicationAllowed(); apply(new FirmwareUpdateRequestedEvent(command.getChargingStationId(), this.protocol, command.getUpdateLocation(), command.getRetrieveDate(), command.getAttributes(), command.getIdentityContext())); }