Coverage Report - org.galagosearch.tupleflow.execution.Locatable
 
Classes in this File Line Coverage Branch Coverage Complexity
Locatable
83%
5/6
N/A
1
 
 1  
 // BSD License (http://galagosearch.org)
 2  
 
 3  
 package org.galagosearch.tupleflow.execution;
 4  
 
 5  
 import java.io.Serializable;
 6  
 
 7  
 /**
 8  
  * This is a mixin class that allows a Job stage/step class to be associated
 9  
  * with a file location.  This is used to provide helpful error messages
 10  
  * when users make errors in the XML parameter files.
 11  
  * 
 12  
  * @author trevor
 13  
  */
 14  
 public class Locatable implements Serializable {
 15  
     public FileLocation location;
 16  
 
 17  14
     public Locatable(FileLocation location) {
 18  14
         setLocation(location);
 19  14
     }
 20  
 
 21  
     public void setLocation(FileLocation location) {
 22  14
         this.location = location;
 23  14
     }
 24  
 
 25  
     public FileLocation getLocation() {
 26  0
         return location;
 27  
     }
 28  
 }