org.archive.crawler.deciderules
Class NotMatchesListRegExpDecideRule

java.lang.Object
  extended by javax.management.Attribute
      extended by org.archive.crawler.settings.Type
          extended by org.archive.crawler.settings.ComplexType
              extended by org.archive.crawler.settings.ModuleType
                  extended by org.archive.crawler.deciderules.DecideRule
                      extended by org.archive.crawler.deciderules.ConfiguredDecideRule
                          extended by org.archive.crawler.deciderules.PredicatedDecideRule
                              extended by org.archive.crawler.deciderules.MatchesListRegExpDecideRule
                                  extended by org.archive.crawler.deciderules.NotMatchesListRegExpDecideRule
All Implemented Interfaces:
java.io.Serializable, javax.management.DynamicMBean

public class NotMatchesListRegExpDecideRule
extends MatchesListRegExpDecideRule

Rule applies configured decision to any URIs which do *not* match the supplied regexp.

Author:
Kristinn Sigurdsson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.archive.crawler.settings.ComplexType
ComplexType.MBeanAttributeInfoIterator
 
Field Summary
 
Fields inherited from class org.archive.crawler.deciderules.MatchesListRegExpDecideRule
ATTR_LIST_LOGIC, ATTR_REGEXP_LIST, DEFAULT_LIST_LOGIC, LEGAL_LIST_LOGIC
 
Fields inherited from class org.archive.crawler.deciderules.ConfiguredDecideRule
ALLOWED_TYPES, ATTR_DECISION
 
Fields inherited from class org.archive.crawler.deciderules.DecideRule
ACCEPT, PASS, REJECT
 
Fields inherited from class org.archive.crawler.settings.ComplexType
definition, definitionMap
 
Constructor Summary
NotMatchesListRegExpDecideRule(java.lang.String name)
          Usual constructor.
 
Method Summary
protected  boolean evaluate(java.lang.Object object)
          Evaluate whether given object's string version does not match configured regexps (by reversing the superclass's answer).
 
Methods inherited from class org.archive.crawler.deciderules.MatchesListRegExpDecideRule
getRegexp, isListLogicOR
 
Methods inherited from class org.archive.crawler.deciderules.PredicatedDecideRule
decisionFor
 
Methods inherited from class org.archive.crawler.deciderules.ConfiguredDecideRule
singlePossibleNonPassDecision
 
Methods inherited from class org.archive.crawler.deciderules.DecideRule
getController, kickUpdate
 
Methods inherited from class org.archive.crawler.settings.ModuleType
addElement, listUsedFiles
 
Methods inherited from class org.archive.crawler.settings.ComplexType
addElementToDefinition, checkValue, earlyInitialize, getAbsoluteName, getAttribute, getAttribute, getAttribute, getAttributeInfo, getAttributeInfo, getAttributeInfoIterator, getAttributes, getDataContainerRecursive, getDataContainerRecursive, getDefaultValue, getDescription, getElementFromDefinition, getLegalValues, getLocalAttribute, getMBeanInfo, getMBeanInfo, getParent, getPreservedFields, getSettingsHandler, getUncheckedAttribute, getValue, globalSettings, invoke, isInitialized, isOverridden, iterator, removeElementFromDefinition, setAsOrder, setAttribute, setAttribute, setAttributes, setDescription, setPreservedFields, toString, unsetAttribute
 
Methods inherited from class org.archive.crawler.settings.Type
addConstraint, equals, getConstraints, getLegalValueType, isExpertSetting, isOverrideable, isTransient, setExpertSetting, setLegalValueType, setOverrideable, setTransient
 
Methods inherited from class javax.management.Attribute
getName, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotMatchesListRegExpDecideRule

public NotMatchesListRegExpDecideRule(java.lang.String name)
Usual constructor.

Parameters:
name -
Method Detail

evaluate

protected boolean evaluate(java.lang.Object object)
Evaluate whether given object's string version does not match configured regexps (by reversing the superclass's answer).

Overrides:
evaluate in class MatchesListRegExpDecideRule
Parameters:
object - Object to make decision about.
Returns:
true if the regexps are not matched


Copyright © 2003-2011 Internet Archive. All Rights Reserved.