Jagger
Main Page
Related Pages
Modules
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerator
Groups
Pages
JTerminationCriteriaDuration.java
Go to the documentation of this file.
1
package
com.griddynamics.jagger.user.test.configurations.termination;
2
3
import
com.griddynamics.jagger.user.test.configurations.termination.auxiliary.DurationInSeconds;
4
5
import
java.util.Objects;
6
12
public
class
JTerminationCriteriaDuration
implements
JTerminationCriteria
{
13
14
private
final
long
durationInSeconds;
15
20
public
JTerminationCriteriaDuration
(
DurationInSeconds
durationInSeconds) {
21
Objects.requireNonNull(durationInSeconds);
22
23
this.durationInSeconds = durationInSeconds.
value
();
24
}
25
30
public
static
JTerminationCriteriaDuration
of
(
DurationInSeconds
durationInSeconds) {
31
return
new
JTerminationCriteriaDuration
(durationInSeconds);
32
}
33
34
public
long
getDurationInSeconds
() {
35
return
durationInSeconds;
36
}
37
}
chassis
core
src
main
java
com
griddynamics
jagger
user
test
configurations
termination
JTerminationCriteriaDuration.java
Generated on Thu Jan 12 2017 18:19:08 for Jagger by
1.8.4