Enhancement on Task #10070
Updated enum list git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/Common/workspace-task-executor-library@167368 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7d7933c41b
commit
394c34cd7b
|
@ -221,10 +221,10 @@ public class TestDataMinerTaskExecutor {
|
|||
}
|
||||
|
||||
public static TaskConfiguration createDummyConfiguration(int index){
|
||||
String[] availableTypes = Converter.convertEnumNamesToArraString(ParameterType.class);
|
||||
List<ParameterType> availableTypes = Converter.getEnumList(ParameterType.class);
|
||||
List<TaskParameterType> types = new ArrayList<TaskParameterType>();
|
||||
for (String string : availableTypes) {
|
||||
types.add(new TaskParameterType(string));
|
||||
for (ParameterType parameter : availableTypes) {
|
||||
types.add(new TaskParameterType(parameter.name()));
|
||||
}
|
||||
|
||||
System.out.println(types.toString());
|
||||
|
|
Loading…
Reference in New Issue