git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngine@132116 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3e433dcfb4
commit
c03f94f3c1
|
@ -45,6 +45,14 @@ public abstract class StandardLocalExternalAlgorithm implements Transducerer {
|
||||||
inputs.add(new PrimitiveType(Integer.class.getName(), null, PrimitiveTypes.NUMBER, name, description, defaultvalue));
|
inputs.add(new PrimitiveType(Integer.class.getName(), null, PrimitiveTypes.NUMBER, name, description, defaultvalue));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void addBooleanInput(String name, String description, String defaultvalue) {
|
||||||
|
inputs.add(new PrimitiveType(Boolean.class.getName(), null, PrimitiveTypes.BOOLEAN, name, description, defaultvalue));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addFileInput(String name, String description, String defaultvalue) {
|
||||||
|
inputs.add(new PrimitiveType(File.class.getName(), null, PrimitiveTypes.FILE, name, description, defaultvalue));
|
||||||
|
}
|
||||||
|
|
||||||
protected void addDoubleInput(String name, String description, String defaultvalue) {
|
protected void addDoubleInput(String name, String description, String defaultvalue) {
|
||||||
inputs.add(new PrimitiveType(Double.class.getName(), null, PrimitiveTypes.NUMBER, name, description, defaultvalue));
|
inputs.add(new PrimitiveType(Double.class.getName(), null, PrimitiveTypes.NUMBER, name, description, defaultvalue));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue