blob: 936c19f6c7fcb13a1eeda73ba14d1587cf5d22a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package com.yahoo.vespa.hosted.node.verification.spec;
import com.yahoo.vespa.hosted.node.verification.spec.noderepo.NodeRepoJsonModel;
/**
* Created by sgrostad on 07/08/2017.
* Contains information on what spec should be verified or not.
*/
public class VerifierSettings {
private final boolean checkIPv6;
public VerifierSettings(){
this.checkIPv6 = true;
}
public VerifierSettings(NodeRepoJsonModel nodeRepoJsonModel){
checkIPv6 = nodeRepoJsonModel.getIpv6Address() != null;
}
public boolean isCheckIPv6() {
return checkIPv6;
}
}
|