|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.module.Module
|
+--org.mmbase.module.ProcessorModule
|
+--org.mmbase.module.LinkChecker
The linkChecker module detects broken urls in the urls builder
and the jumpers builder. if the linkchecker module is active
it will at start up (5 minutes after the MMBase initialisation) and start perfoming checks
this wil only happend once every time time MMBase has been started.
for the LinckChecker to work the sendmail modules has to be configured and has to be active
| Constructor Summary | |
LinkChecker()
|
|
| Method Summary | |
boolean |
checkUrl(java.lang.String url)
Checks if an url exists. |
java.util.Vector |
getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
Generate a list of values from a command to the processor |
java.lang.String |
getModuleInfo()
provide some info on the module |
void |
init()
Initializes the module. |
void |
maintainance()
maintainance call called by the admin module every x seconds. |
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
Execute the commands provided in the form values |
java.lang.String |
replace(scanpage sp,
java.lang.String cmds)
Replace a command by a string |
void |
run()
|
void |
start()
Deprecated. start and stop methods of Thread should never be overwritten |
void |
stop()
Deprecated. start and stop methods ot Threads should never be overwritten |
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getListBuilder, getNodeList, onload, reload, replace, shutdown, unload |
| Methods inherited from class org.mmbase.module.Module |
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, setClassName, setInitParameter, setMaintainer, setName, setVersion, shutdownModules, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LinkChecker()
| Method Detail |
public void init()
ModuleModule.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.init in class ProcessorModule
public java.util.Vector getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
throws ParseException
ProcessorModulegetList in class ProcessorModuleorg.mmbase.module.ProcessorModulesp - the page contextparams - contains the attributes for the listcommand - the list command to execute.
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
ProcessorModuleprocess in class ProcessorModule
public java.lang.String replace(scanpage sp,
java.lang.String cmds)
ProcessorModulereplace in class ProcessorModulepublic java.lang.String getModuleInfo()
ModulegetModuleInfo in class Modulepublic void maintainance()
Modulemaintainance in class Modulepublic void start()
public void stop()
public void run()
run in interface java.lang.Runnablepublic boolean checkUrl(java.lang.String url)
the - url to check
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||