public abstract class DecideRule extends Object implements Serializable, HasKeyedProperties
Modifier and Type | Field and Description |
---|---|
protected String |
comment |
protected KeyedProperties |
kp |
Constructor and Description |
---|
DecideRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(CrawlURI uri) |
DecideResult |
decisionFor(CrawlURI uri) |
String |
getComment() |
boolean |
getEnabled() |
KeyedProperties |
getKeyedProperties() |
protected abstract DecideResult |
innerDecide(CrawlURI uri) |
DecideResult |
onlyDecision(CrawlURI uri) |
void |
setComment(String comment) |
void |
setEnabled(boolean enabled) |
protected KeyedProperties kp
protected String comment
public KeyedProperties getKeyedProperties()
getKeyedProperties
in interface HasKeyedProperties
public boolean getEnabled()
public void setEnabled(boolean enabled)
public String getComment()
public void setComment(String comment)
public DecideResult decisionFor(CrawlURI uri)
protected abstract DecideResult innerDecide(CrawlURI uri)
public DecideResult onlyDecision(CrawlURI uri)
public boolean accepts(CrawlURI uri)
Copyright © 2003-2014 Internet Archive. All Rights Reserved.