MCPcopy Create free account
hub / github.com/apache/nutch / status

Method status

src/java/org/apache/nutch/parse/ParseUtil.java:184–194  ·  view source on GitHub ↗
(String url, WebPage page)

Source from the content-addressed store, hash-verified

182 }
183
184 public boolean status(String url, WebPage page) {
185 byte status = page.getStatus().byteValue();
186 if (status != CrawlStatus.STATUS_FETCHED) {
187 if (LOG.isDebugEnabled()) {
188 LOG.debug("Skipping " + url + " as status is: "
189 + CrawlStatus.getName(status));
190 }
191 return true;
192 }
193 return false;
194 }
195
196 /**
197 * Parses given sitemap page and stores parsed content within page.

Callers 7

processSitemapParseMethod · 0.95
processMethod · 0.95
allowOnlyAdminMethod · 0.80
createSeedFileMethod · 0.80
handleExceptionMethod · 0.80
createConfigMethod · 0.80

Calls 2

getNameMethod · 0.95
getStatusMethod · 0.45

Tested by

no test coverage detected