package org.jbehave.core.configuration.spring;

import org.jbehave.core.embedder.StoryControls;

/**
 * Extends {@link StoryControls} to provide getter/setter methods for all
 * control properties, so it can be used by Spring's property mechanism.
 */
public class SpringStoryControls extends StoryControls {

    public boolean getDryRun(){
        return dryRun();
    }
    
    public void setDryRun(boolean dryRun){
        doDryRun(dryRun);
    }
    
    public boolean isSkipScenariosAfterFailure() {
        return skipScenariosAfterFailure();
    }

    public void setSkipScenariosAfterFailure(boolean skipScenariosAfterFailure) {
        doSkipScenariosAfterFailure(skipScenariosAfterFailure);
    }    
    
}

@@ -704,20 +704,379 @@
 );%0A    %7D
+%0A%0A
     
+public boolean isSkipBeforeAndAfterScenarioStepsIfGivenStory() %7B%0A        return skipBeforeAndAfterScenarioStepsIfGivenStory();%0A    %7D%0A%0A    public void setSkipBeforeAndAfterScenarioStepsIfGivenStory(boolean skipBeforeAndAfterScenarioStepsIfGivenStory) %7B%0A        doSkipBeforeAndAfterScenarioStepsIfGivenStory(skipBeforeAndAfterScenarioStepsIfGivenStory);%0A    %7D
 %0A    %0A%7D%0A

Add setter/getter for skipBeforeAndAfterScenarioStepsIfGivenStory