delete RunScenarioModelOld
This commit is contained in:
parent
02c7d0ecc8
commit
85016b3e26
|
@ -1,49 +0,0 @@
|
|||
package org.bench4q.agent.api.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlElementWrapper;
|
||||
import javax.xml.bind.annotation.XmlElements;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
import org.bench4q.agent.api.model.behavior.TimerBehaviorModel;
|
||||
import org.bench4q.agent.api.model.behavior.UserBehaviorModel;
|
||||
|
||||
@XmlRootElement(name = "runScenario")
|
||||
public class RunScenarioModelOld {
|
||||
private int poolSize;
|
||||
private List<UsePluginModel> usePlugins;
|
||||
private List<Object> behaviors;
|
||||
|
||||
@XmlElement
|
||||
public int getPoolSize() {
|
||||
return poolSize;
|
||||
}
|
||||
|
||||
public void setPoolSize(int poolSize) {
|
||||
this.poolSize = poolSize;
|
||||
}
|
||||
|
||||
@XmlElementWrapper(name = "usePlugins")
|
||||
@XmlElement(name = "usePlugin")
|
||||
public List<UsePluginModel> getUsePlugins() {
|
||||
return usePlugins;
|
||||
}
|
||||
|
||||
public void setUsePlugins(List<UsePluginModel> usePlugins) {
|
||||
this.usePlugins = usePlugins;
|
||||
}
|
||||
|
||||
@XmlElementWrapper(name = "behaviors")
|
||||
@XmlElements(value = {
|
||||
@XmlElement(name = "userBehavior", type = UserBehaviorModel.class),
|
||||
@XmlElement(name = "timerBehavior", type = TimerBehaviorModel.class) })
|
||||
public List<Object> getBehaviors() {
|
||||
return behaviors;
|
||||
}
|
||||
|
||||
public void setBehaviors(List<Object> behaviors) {
|
||||
this.behaviors = behaviors;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue