View Javadoc
1   package com.github.celldynamics.quimp.plugin.ecmm;
2   
3   import java.io.File;
4   
5   import com.github.celldynamics.quimp.plugin.AbstractPluginOptions;
6   
7   /**
8    * Hold ECMM options, currently only file name to process.
9    * 
10   * <p>Note that {@link ECMp} class hold options related to algorithm, not configurable by user.
11   * 
12   * @author p.baniukiewicz
13   *
14   */
15  public class EcmmOptions extends AbstractPluginOptions {
16  
17    /**
18     * Allow to add file name to options.
19     * 
20     * <p>For convenient creation of {@link ECMM_Mapping} for API.
21     * 
22     * @param file file to add
23     */
24    public EcmmOptions(File file) {
25      paramFile = file.getPath();
26    }
27  
28    /**
29     * Default constructor.
30     */
31    public EcmmOptions() {
32      super();
33    }
34  
35    /*
36     * (non-Javadoc)
37     * 
38     * @see java.lang.Object#clone()
39     */
40    @Override
41    public Object clone() throws CloneNotSupportedException {
42      EcmmOptions/quimp/plugin/ecmm/EcmmOptions.html#EcmmOptions">EcmmOptions cp = new EcmmOptions();
43      cp.paramFile = this.paramFile;
44      return cp;
45    }
46  }