@Test public void assertIsServerPath() { assertTrue(serverNode.isServerPath("/test_job/servers/127.0.0.1")); }
public boolean isServerPath(final String path) { return Pattern.compile(jobNodePath.getFullPath(ServerNode.ROOT) + "/" + IpUtils.IP_REGEX).matcher(path).matches(); }
ServerNode { public boolean isServerPath(final String path) { return Pattern.compile(jobNodePath.getFullPath(ServerNode.ROOT) + "/" + IpUtils.IP_REGEX).matcher(path).matches(); } }
ServerNode { public boolean isServerPath(final String path) { return Pattern.compile(jobNodePath.getFullPath(ServerNode.ROOT) + "/" + IpUtils.IP_REGEX).matcher(path).matches(); } ServerNode(final String jobName); }
ServerNode { public boolean isServerPath(final String path) { return Pattern.compile(jobNodePath.getFullPath(ServerNode.ROOT) + "/" + IpUtils.IP_REGEX).matcher(path).matches(); } ServerNode(final String jobName); boolean isServerPath(final String path); boolean isLocalServerPath(final String path); }
ServerNode { public boolean isServerPath(final String path) { return Pattern.compile(jobNodePath.getFullPath(ServerNode.ROOT) + "/" + IpUtils.IP_REGEX).matcher(path).matches(); } ServerNode(final String jobName); boolean isServerPath(final String path); boolean isLocalServerPath(final String path); static final String ROOT; }