package beast.core;

@Description("Entry point for running an Beast task, for instance an MCMC or other probabilistic " +
		"analysis, a simulation, etc.")
public abstract class Runnable extends Plugin {
    public void run() throws Exception {};
    
    /** Set up information related to the file for (re)storing the State.
     *  The Runnable implementation is responsible for making its
     *  State synchronising with the file **/
    public void setStateFile(String sFileName, boolean bRestoreFromFile) {
    	m_sStateFile = sFileName;
    	m_bRestoreFromFile = bRestoreFromFile;
    }
    
    /** flag to indicate that the State should be restored from File at the start of the analysis **/
    protected boolean m_bRestoreFromFile = false;

    /** name of the file store the state in **/
    protected String m_sStateFile;
}

package beast.core;

@Description("Entry point for running an Beast task, for instance an MCMC or other probabilistic " +
		"analysis, a simulation, etc.")
public abstract class Runnable extends Plugin {
    public void run() throws Exception {};
    
    /** Set up information related to the file for (re)storing the State.
     *  The Runnable implementation is responsible for making its
     *  State synchronising with the file **/
    public void setStateFile(String sFileName, boolean bRestoreFromFile) {
    	m_sStateFile = sFileName;
    	m_bRestoreFromFile = bRestoreFromFile;
    }
    
    /** flag to indicate that the State should be restored from File at the start of the analysis **/
    protected boolean m_bRestoreFromFile = false;

    /** name of the file store the state in **/
    protected String m_sStateFile = "state.backup.xml";
}

set default state file to pass integration test