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