src/main/java/org/intellimate/izou/sdk/frameworks/music/player/template/CommandHandler.java
private void handleJump(EventModel eventModel, ResourceModel<String> resourceModel) {
        Optional<Progress> progress = ProgressResource.getProgress(eventModel);
        if (!progress.isPresent()) {
            musicHelper.playerError(PlayerError.ERROR_ILLEGAL + "command: " + resourceModel.getResource() + "missing resource",
                    resourceModel.getProvider());
        }
        jumpProgress.accept(progress.get());
    }
private void handleJump(EventModel eventModel, ResourceModel<String> resourceModel) {
        Optional<Progress> progress = ProgressResource.getProgress(eventModel);
        if (!progress.isPresent()) {
            musicHelper.playerError(PlayerError.ERROR_ILLEGAL + "command: " + resourceModel.getResource() + "missing resource",
                    resourceModel.getProvider());
        }
        jumpProgress.accept(progress.get());
    }
private void handleJump ( EventModel eventModel , ResourceModel < String > resourceModel ) { Optional < Progress > progress = ProgressResource . getProgress ( eventModel ) ; if ( ! progress . isPresent ( ) ) { musicHelper . playerError ( PlayerError . ERROR_ILLEGAL + "command: " + resourceModel . getResource ( ) + "missing resource" , resourceModel . getProvider ( ) ) ; } jumpProgress . accept ( progress . get ( ) ) ; }
handles the jump-command
@param eventModel the event
@param resourceModel the resourcemodel
handles the jump - command