v++
This commit is contained in:
@@ -10,6 +10,8 @@ public class SapforConfiguration_json implements Serializable {
|
||||
@Expose
|
||||
public int id = Constants.Nan;
|
||||
@Expose
|
||||
public String name="";
|
||||
@Expose
|
||||
public String flags = "";
|
||||
@Expose
|
||||
public List<PassCode_2021> codes = new Vector<>();
|
||||
|
||||
@@ -168,4 +168,20 @@ public class SapforPackage_json implements Serializable {
|
||||
}
|
||||
}
|
||||
}
|
||||
public Vector<String> getConfigurationsNames() {
|
||||
Vector<String> names = new Vector<>();
|
||||
for (SapforTestingSet_json set: testingSets){
|
||||
for (SapforConfiguration_json configurationJson: set.configurations){
|
||||
if (!names.contains(configurationJson.name))
|
||||
names.add(configurationJson.name);
|
||||
}
|
||||
}
|
||||
names.sort(new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String o1, String o2) {
|
||||
return o1.compareTo(o2);
|
||||
}
|
||||
});
|
||||
return names;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user