/**
 * Copyright 2018 BlazeMeter Inc.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package hudson.plugins.blazemeter;

import javaposse.jobdsl.dsl.Context;

public class PerformanceBuilderDSLContext implements Context {

    String workspaceId = "";

    String credentialsId = "";

    String testId = "";

    String notes = "";

    String sessionProperties = "";

    String jtlPath = "";

    String junitPath = "";

    boolean getJtl = false;

    boolean getJunit = false;

    String reportLinkName = "";

    String mainTestFile = "";

    String additionalTestFiles = "";

    boolean abortJob = false;

    public void credentialsId(String credentialsId) {
        this.credentialsId = credentialsId;
    }

    public void testId(String testId) {
        this.testId = testId;
    }

    public void notes(String notes) {
        this.notes = notes;
    }

    public void sessionProperties(String sessionProperties) {
        this.sessionProperties = sessionProperties;
    }

    public void jtlPath(String jtlPath) {
        this.jtlPath = jtlPath;
    }

    public void junitPath(String junitPath) {
        this.junitPath = junitPath;
    }

    public void getJtl(boolean getJtl) {
        this.getJtl = getJtl;
    }

    public void getJunit(boolean getJunit) {
        this.getJunit = getJunit;
    }

    public void workspaceId(String  workspaceId) {
        this.workspaceId = workspaceId;
    }

    public void reportLinkName(String reportLinkName) {
        this.reportLinkName = reportLinkName;
    }

    public void mainTestFile(String mainTestFile) {
        this.mainTestFile = mainTestFile;
    }

    public void additionalTestFiles(String additionalTestFiles) {
        this.additionalTestFiles = additionalTestFiles;
    }

    public void abortJob(boolean abortJob) {
        abortJob = abortJob;
    }
}

@@ -2319,16 +2319,21 @@
         
+this.
 abortJob

fix dsl generation for abort build (#76)