Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
com.griddynamics.jagger.user.test.configurations.termination.auxiliary.MaxDurationInSeconds.MaxDurationInSeconds ( long  maxDurationInSeconds)

Definition at line 9 of file MaxDurationInSeconds.java.

Referenced by com.griddynamics.jagger.user.test.configurations.termination.auxiliary.MaxDurationInSeconds.of().

9  {
10  if (maxDurationInSeconds <= 0) {
11  throw new IllegalArgumentException(
12  String.format("Max duration in seconds must be > 0. Provided value is %s", maxDurationInSeconds));
13  }
14  this.maxDurationInSeconds = maxDurationInSeconds;
15  }

Here is the caller graph for this function: