net.sf.urlchecker.commands
Interface Command

Package class diagram package Command
All Known Implementing Classes:
AbstractCommand, CheckUrlsCommand, CheckUrlsCommand, CheckUrlsGeneric, URLMatchCommand

public interface Command

The URLChecker Command interface. All Commands must have the chain of responsibilities design pattern in mind. For this it is best to extend the AbstractCommand and call super.process(Context) method after finished processing in the specific command.

$Id: Command.java 181 2010-12-12 23:39:00Z georgosn $

Version:
$LastChangedRevision: 181 $
Author:
$LastChangedBy: georgosn $

Method Summary
 Command getSuccessor()
          Returns the successor.
 Set<Result> process(Context input)
          This method processes the input Context and forwards the results on to the successor.
 

Method Detail

getSuccessor

Command getSuccessor()
Returns the successor.

Returns:
the successor

process

Set<Result> process(Context input)
                    throws org.apache.commons.configuration.ConfigurationException
This method processes the input Context and forwards the results on to the successor.

Parameters:
input - the input
Returns:
the set
Throws:
org.apache.commons.configuration.ConfigurationException - the configuration exception


Copyright © 2010 Nikolaos Georgosopoulos. All Rights Reserved.