Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
TestInfo.java
Go to the documentation of this file.
1 package com.griddynamics.jagger.engine.e1.collector.test;
2 
3 import com.griddynamics.jagger.engine.e1.scenario.WorkloadTask;
4 
13 public class TestInfo {
14  private WorkloadTask test;
15  private String sessionId;
16 
17  private int threads;
18  private int samples;
19  private int startedSamples;
20  private long duration;
21 
22 
23  public TestInfo(){
24  }
25 
26  public TestInfo(WorkloadTask test, String sessionId){
27  this.test = test;
28  this.sessionId = sessionId;
29  }
30 
32  public WorkloadTask getTest() {
33  return test;
34  }
35 
36  public void setTest(WorkloadTask test) {
37  this.test = test;
38  }
39 
41  public int getThreads() {
42  return threads;
43  }
44 
45  public void setThreads(int threads) {
46  this.threads = threads;
47  }
48 
50  public int getSamples() {
51  return samples;
52  }
53 
54  public void setSamples(int samples) {
55  this.samples = samples;
56  }
57 
59  public int getStartedSamples() {
60  return startedSamples;
61  }
62 
63  public void setStartedSamples(int startedSamples) {
64  this.startedSamples = startedSamples;
65  }
66 
68  public long getDuration() {
69  return duration;
70  }
71 
72  public void setDuration(long duration) {
73  this.duration = duration;
74  }
75 
77  public String getSessionId() {
78  return sessionId;
79  }
80 
81  public void setSessionId(String sessionId) {
82  this.sessionId = sessionId;
83  }
84 }