| org.archive.crawler.settings.Type org.archive.crawler.settings.ComplexType org.archive.crawler.settings.ModuleType
All known Subclasses: org.archive.crawler.framework.AbstractTracker, org.archive.crawler.frontier.AdaptiveRevisitFrontier, org.archive.crawler.deciderules.DecideRule, org.archive.crawler.datamodel.credential.Credential, org.archive.crawler.framework.Filter, org.archive.crawler.url.canonicalize.BaseRule, org.archive.crawler.datamodel.CrawlOrder, org.archive.crawler.datamodel.RobotsHonoringPolicy, org.archive.crawler.datamodel.CredentialStore, org.archive.crawler.framework.Processor, org.archive.crawler.frontier.AbstractFrontier,
ModuleType | public class ModuleType extends ComplexType (Code) | | Superclass of all modules that should be configurable.
author: John Erik Halse |
ModuleType | public ModuleType(String name, String description)(Code) | | Creates a new ModuleType.
This constructor is made to help implementors of subclasses. It is an
requirement that subclasses at the very least implements a constructor
that takes only the name as an argument.
Parameters: name - the name of the module. Parameters: description - the description of the module. |
ModuleType | public ModuleType(String name)(Code) | | Every subclass should implement this constructor
Parameters: name - of the module |
listUsedFiles | protected void listUsedFiles(List<String> list)(Code) | | Those Modules that use files on disk should list them all when this
method is called.
Each file (as a string name with full path) should be added to the
provided list.
Modules that do not use any files can safely ignore this method.
Parameters: list - The list to add files to. |
Methods inherited from org.archive.crawler.settings.ComplexType | public Type addElement(CrawlerSettings settings, Type type) throws InvalidAttributeValueException(Code)(Java Doc) public Type addElementToDefinition(Type type)(Code)(Java Doc) public FailedCheck checkValue(CrawlerSettings settings, String attributeName, Object value)(Code)(Java Doc) FailedCheck checkValue(CrawlerSettings settings, String attributeName, Type definition, Object value)(Code)(Java Doc) public void earlyInitialize(CrawlerSettings settings)(Code)(Java Doc) public String getAbsoluteName()(Code)(Java Doc) public Object getAttribute(String name) throws AttributeNotFoundException, MBeanException, ReflectionException(Code)(Java Doc) public Object getAttribute(String name, CrawlURI uri) throws AttributeNotFoundException(Code)(Java Doc) public Object getAttribute(Object context, String name) throws AttributeNotFoundException(Code)(Java Doc) public MBeanAttributeInfo getAttributeInfo(CrawlerSettings settings, String name)(Code)(Java Doc) public MBeanAttributeInfo getAttributeInfo(String name)(Code)(Java Doc) public MBeanAttributeInfoIterator getAttributeInfoIterator(Object context)(Code)(Java Doc) public AttributeList getAttributes(String[] name)(Code)(Java Doc) protected DataContainer getDataContainerRecursive(Context context)(Code)(Java Doc) protected DataContainer getDataContainerRecursive(Context context, String key) throws AttributeNotFoundException(Code)(Java Doc) public Object getDefaultValue()(Code)(Java Doc) Type getDefinition(String attributeName)(Code)(Java Doc) public String getDescription()(Code)(Java Doc) public Type getElementFromDefinition(String name)(Code)(Java Doc) public Object[] getLegalValues()(Code)(Java Doc) public Object getLocalAttribute(CrawlerSettings settings, String name) throws AttributeNotFoundException(Code)(Java Doc) public MBeanInfo getMBeanInfo()(Code)(Java Doc) public MBeanInfo getMBeanInfo(Object context)(Code)(Java Doc) public ComplexType getParent()(Code)(Java Doc) protected String[] getPreservedFields()(Code)(Java Doc) Context getSettingsFromObject(Object o, String attributeName)(Code)(Java Doc) Context getSettingsFromObject(Object o)(Code)(Java Doc) public SettingsHandler getSettingsHandler()(Code)(Java Doc) public Object getUncheckedAttribute(Object context, String name)(Code)(Java Doc) public Object getValue()(Code)(Java Doc) public CrawlerSettings globalSettings()(Code)(Java Doc) public Object invoke(String arg0, Object[] arg1, String[] arg2) throws MBeanException, ReflectionException(Code)(Java Doc) public boolean isInitialized()(Code)(Java Doc) public boolean isOverridden(CrawlerSettings settings, String name) throws AttributeNotFoundException(Code)(Java Doc) public Iterator iterator(Object context)(Code)(Java Doc) protected Type removeElementFromDefinition(String name)(Code)(Java Doc) protected void setAsOrder(SettingsHandler settingsHandler) throws InvalidAttributeValueException(Code)(Java Doc) final public synchronized void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException(Code)(Java Doc) final public synchronized void setAttribute(CrawlerSettings settings, Attribute attribute) throws InvalidAttributeValueException, AttributeNotFoundException(Code)(Java Doc) public AttributeList setAttributes(AttributeList attributes)(Code)(Java Doc) public void setDescription(String string)(Code)(Java Doc) protected void setPreservedFields(String[] preservedFields)(Code)(Java Doc) public String toString()(Code)(Java Doc) public Object unsetAttribute(CrawlerSettings settings, String name) throws AttributeNotFoundException(Code)(Java Doc)
|
|
|