package org.opencb.hpg.bigdata.analysis;

import org.opencb.hpg.bigdata.analysis.exceptions.AnalysisExecutorException;

/**
 * Created by jtarraga on 30/01/17.
 */
public abstract class AnalysisExecutor {
    protected String studyId;

    protected AnalysisExecutor(String studyId) {
        this.studyId = studyId;
    }

    protected abstract void execute() throws AnalysisExecutorException;

    @Override
    public String toString() {
        return "AnalysisExecutor{" +
                "studyId='" + studyId + '\'' +
                '}';
    }

    public String getStudyId() {
        return studyId;
    }

    public AnalysisExecutor setStudyId(String studyId) {
        this.studyId = studyId;
        return this;
    }
}

@@ -469,18 +469,16 @@
 ecutor%7B%22
- +
 %0A       
@@ -485,16 +485,18 @@
         
+ +
  %22studyI
@@ -516,18 +516,16 @@
 d + '%5C''
- +
 %0A       
@@ -532,16 +532,18 @@
         
+ +
  '%7D';%0A  

fix checkstyle