public class NetworkChecker extends AbstractChecker<String[]>
<remote>
tag. Either plain host or subnet (in the CIDR notation) can be specified
<remote> <host>planck</host> <host>10.0.11.125</host> <host>11.0.0.0/16</host> <host>192.168.15.3/255.255.255.0</host> </remote>
| Constructor and Description |
|---|
NetworkChecker(Document pDoc)
Construct this checker from a given document
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(String[] pHostOrAddresses)
Check for one or more hosts.
|
assertNodeNamepublic NetworkChecker(Document pDoc)
pDoc - document to examine for <remote> tags.public boolean check(String[] pHostOrAddresses)
check in class AbstractChecker<String[]>pHostOrAddresses - array of host names or IP addressesCopyright © 2017. All rights reserved.