Coverage Report - org.galagosearch.tupleflow.execution.Step
 
Classes in this File Line Coverage Branch Coverage Complexity
Step
0%
0/20
N/A
0
 
 1  
 // BSD License (http://www.galagosearch.org/license)
 2  
 
 3  
 package org.galagosearch.tupleflow.execution;
 4  
 
 5  
 import org.galagosearch.tupleflow.Parameters;
 6  
 import java.io.Serializable;
 7  
 
 8  
 /**
 9  
  *
 10  
  * @author trevor
 11  
  */
 12  
 public class Step implements Serializable {
 13  
     protected FileLocation location;
 14  
     private String className;
 15  
     private String inputType;
 16  
     private String outputType;
 17  
     private String[] inputOrder;
 18  
     private String[] outputOrder;
 19  
     private Parameters parameters;
 20  
 
 21  0
     public Step() {
 22  0
     }
 23  
 
 24  
     public Step(Class c) {
 25  0
         this(null, c.getName(), new Parameters());
 26  0
     }
 27  
 
 28  
     public Step(String className) {
 29  0
         this(null, className, new Parameters());
 30  0
     }
 31  
     
 32  
     public Step(Class c, Parameters parameters) {
 33  0
         this(null, c.getName(), parameters);
 34  0
     }
 35  
 
 36  
     public Step(String className, Parameters parameters) {
 37  0
         this(null, className, parameters);
 38  0
     }
 39  
 
 40  0
     public Step(FileLocation location, String className, Parameters parameters) {
 41  0
         this.location = location;
 42  0
         this.className = className;
 43  0
         this.parameters = parameters;
 44  0
     }
 45  
 
 46  
     public FileLocation getLocation() {
 47  0
         return location;
 48  
     }
 49  
 
 50  
     public String getClassName() {
 51  0
         return className;
 52  
     }
 53  
 
 54  
     public Parameters getParameters() {
 55  0
         return parameters;
 56  
     }
 57  
 
 58  
     public boolean isStepClassAvailable() {
 59  0
         return Verification.isClassAvailable(className);
 60  
     }
 61  
 
 62  
     @Override
 63  
     public String toString() {
 64  0
         return className;
 65  
     }
 66  
 }