Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
JLoadScenario com.griddynamics.jagger.user.test.configurations.JLoadScenario.Builder.build ( )

Creates the object of JLoadScenario type with custom parameters.

Returns
JLoadScenario object.

Definition at line 135 of file JLoadScenario.java.

References com.griddynamics.jagger.user.test.configurations.JParallelTestsGroup.getId().

135  {
136 
137  if (testGroups.stream().map(JParallelTestsGroup::getId).collect(Collectors.toSet()).size() < testGroups.size()) {
138  throw new IllegalStateException("JParallelTestsGroup ids inside one JLoadScenario are not all unique");
139  }
140 
141  return new JLoadScenario(this);
142  }

Here is the call graph for this function: