add filteredTypes to RunScenarioModel
This commit is contained in:
parent
6954a15bf4
commit
50de7f9815
|
@ -15,6 +15,7 @@ public class RunScenarioModel {
|
|||
private int poolSize;
|
||||
private List<UsePluginModel> usePlugins;
|
||||
private List<PageModel> pages;
|
||||
private List<String> filteredTypes;
|
||||
|
||||
@XmlElement
|
||||
public int getPoolSize() {
|
||||
|
@ -49,4 +50,14 @@ public class RunScenarioModel {
|
|||
this.setUsePlugins(new LinkedList<UsePluginModel>());
|
||||
this.setPages(new LinkedList<PageModel>());
|
||||
}
|
||||
|
||||
@XmlElementWrapper(name = "filteredTypes")
|
||||
@XmlElement(name = "filteredType")
|
||||
public List<String> getFilteredTypes() {
|
||||
return filteredTypes;
|
||||
}
|
||||
|
||||
public void setFilteredTypes(List<String> filteredTypes) {
|
||||
this.filteredTypes = filteredTypes;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ public class OperateScriptServerResponseModel {
|
|||
private int port;
|
||||
private String fileName;
|
||||
private List<ScriptModel> scriptModels;
|
||||
private String[] filterTypeList;
|
||||
|
||||
@XmlElement
|
||||
public boolean isSuccess() {
|
||||
|
@ -74,4 +75,13 @@ public class OperateScriptServerResponseModel {
|
|||
this.scriptModels = scriptModels;
|
||||
}
|
||||
|
||||
@XmlElement
|
||||
public String[] getFilterTypeList() {
|
||||
return filterTypeList;
|
||||
}
|
||||
|
||||
public void setFilterTypeList(String[] filterTypeList) {
|
||||
this.filterTypeList = filterTypeList;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.bench4q.share.models.master;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
|
Loading…
Reference in New Issue