127 lines
2.8 KiB
Java
127 lines
2.8 KiB
Java
package org.gcube.dataanalysis.dataminer.poolmanager.datamodel;
|
|
|
|
import java.util.Collection;
|
|
import java.util.Vector;
|
|
|
|
|
|
public class Algorithm ***REMOVED***
|
|
|
|
|
|
|
|
|
|
private String name;
|
|
|
|
private String description;
|
|
|
|
private String clazz;
|
|
|
|
private String category;
|
|
|
|
private String algorithmType;
|
|
|
|
private String skipJava;
|
|
|
|
private String packageURL;
|
|
|
|
private Collection<Action> actions;
|
|
|
|
private Collection<Dependency> dependencies;
|
|
|
|
public Algorithm() ***REMOVED***
|
|
this.actions = new Vector<>();
|
|
this.dependencies = new Vector<>();
|
|
Dependency p = new Dependency();
|
|
|
|
***REMOVED***init with default values
|
|
this.skipJava = "N";
|
|
this.algorithmType = "transducerers";
|
|
***REMOVED***
|
|
|
|
public void addDependency(Dependency dep) ***REMOVED***
|
|
this.dependencies.add(dep);
|
|
***REMOVED***
|
|
|
|
public void addAction(Action action) ***REMOVED***
|
|
this.actions.add(action);
|
|
***REMOVED***
|
|
|
|
public String getName() ***REMOVED***
|
|
return name;
|
|
***REMOVED***
|
|
|
|
public void setName(String name) ***REMOVED***
|
|
this.name = name;
|
|
***REMOVED***
|
|
|
|
public String getDescription() ***REMOVED***
|
|
return description;
|
|
***REMOVED***
|
|
|
|
public void setDescription(String description) ***REMOVED***
|
|
this.description = description;
|
|
***REMOVED***
|
|
|
|
public String getCategory() ***REMOVED***
|
|
return category;
|
|
***REMOVED***
|
|
|
|
public void setCategory(String category) ***REMOVED***
|
|
this.category = category;
|
|
***REMOVED***
|
|
|
|
public Collection<Action> getActions() ***REMOVED***
|
|
return actions;
|
|
***REMOVED***
|
|
|
|
public Collection<Dependency> getDependencies() ***REMOVED***
|
|
return dependencies;
|
|
***REMOVED***
|
|
|
|
public void setDependencies(Collection<Dependency> deps) ***REMOVED***
|
|
this.dependencies = deps;
|
|
***REMOVED***
|
|
|
|
public String toString() ***REMOVED***
|
|
String out = "Algorithm: " + this.getName()+"\n";
|
|
out+=" Class Name: " + this.getClazz()+"\n";
|
|
out+=" Description: " + this.getDescription()+"\n";
|
|
out+=" Dependencies: " + this.getDependencies()+"\n";
|
|
return out;
|
|
***REMOVED***
|
|
|
|
public String getClazz() ***REMOVED***
|
|
return clazz;
|
|
***REMOVED***
|
|
|
|
public void setClazz(String clazz) ***REMOVED***
|
|
this.clazz = clazz;
|
|
***REMOVED***
|
|
|
|
public String getPackageURL() ***REMOVED***
|
|
return packageURL;
|
|
***REMOVED***
|
|
|
|
public void setPackageURL(String packageURL) ***REMOVED***
|
|
this.packageURL = packageURL;
|
|
***REMOVED***
|
|
|
|
public String getAlgorithmType() ***REMOVED***
|
|
return algorithmType;
|
|
***REMOVED***
|
|
|
|
public void setAlgorithmType(String algorithmType) ***REMOVED***
|
|
this.algorithmType = algorithmType;
|
|
***REMOVED***
|
|
|
|
public String getSkipJava() ***REMOVED***
|
|
return skipJava;
|
|
***REMOVED***
|
|
|
|
public void setSkipJava(String skipJava) ***REMOVED***
|
|
this.skipJava = skipJava;
|
|
***REMOVED***
|
|
|
|
|
|
|
|
***REMOVED***
|