Skip to content
Snippets Groups Projects
Commit 8d8dfc1b authored by kfilippopolitis's avatar kfilippopolitis
Browse files

Now we properly load the algorithm parameter types.

parent f0f8ef4b
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ public class ExaremeAlgorithmRequestParamDTO { ...@@ -58,7 +58,7 @@ public class ExaremeAlgorithmRequestParamDTO {
public ExaremeAlgorithmRequestParamDTO (String name, MIPEngineAlgorithmDTO.MIPEngineAlgorithmParameterDTO parameter){ public ExaremeAlgorithmRequestParamDTO (String name, MIPEngineAlgorithmDTO.MIPEngineAlgorithmParameterDTO parameter){
this.name = name; this.name = name;
this.desc = parameter.getDesc(); this.desc = parameter.getDesc();
this.valueType = parameter.getType(); this.valueType = parameter.getTypes().get(0);
this.type = "other"; this.type = "other";
this.defaultValue = parameter.getDefault_value(); this.defaultValue = parameter.getDefault_value();
this.valueNotBlank = parameter.getNotblank(); this.valueNotBlank = parameter.getNotblank();
......
...@@ -51,8 +51,8 @@ public class MIPEngineAlgorithmDTO { ...@@ -51,8 +51,8 @@ public class MIPEngineAlgorithmDTO {
@SerializedName("multiple") @SerializedName("multiple")
private String multiple; private String multiple;
@SerializedName("type") @SerializedName("types")
private String type; private List<String> types;
@SerializedName("desc") @SerializedName("desc")
private String desc; private String desc;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment