blob: f219546cd313b684eb08c22f0da4a7b90629f8bd (
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
27
28
29
30
31
|
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 ipv6;
public VerifierSettings(){
this.ipv6 = true;
}
public VerifierSettings(NodeRepoJsonModel nodeRepoJsonModel){
if (nodeRepoJsonModel.getIpv6Address() != null){
ipv6 = true;
}
else {
ipv6 = false;
}
}
public boolean isIpv6() {
return ipv6;
}
}
|