|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdaptorPluginInterface
An adaptor plugin interface that each adaptor has to implement.
| Method Summary | |
|---|---|
ResultInterface |
execute()
Fetches all information that this adaptor can obtain from the source. |
ResultInterface |
execute(Map<Entity,List<Property>> config)
Executes this plugin and returns a specific ResultInterface implementation. |
List<ConfigParameter> |
getParameters()
Retrieves a list with ConfigParameter objects needed/supported by
this plugin. |
Map<String,String> |
getParameterValues()
Returns a pre-polulated map with the configuration of this plugin. |
void |
setParameterValues(Map<String,String> values)
Sets the config parameters. |
| Methods inherited from interface eu.scape_project.watch.interfaces.PluginInterface |
|---|
getDescription, getName, getPluginType, getVersion, init, shutdown |
| Method Detail |
|---|
List<ConfigParameter> getParameters()
ConfigParameter objects needed/supported by
this plugin. Note the not all config parameters have to be requried (
ConfigParameter.isRequired() )
Map<String,String> getParameterValues()
void setParameterValues(Map<String,String> values)
throws InvalidParameterException
values - sets the values.
InvalidParameterException - if some required parameters are not provided, or other problems
occur.ResultInterface execute(Map<Entity,List<Property>> config)
throws PluginException
ResultInterface implementation.
The execution has to be done according to the current parameter setting.
config - the configuration map. Determines what should be fetched upon
execution.
PluginException - if an error occurs.ResultInterface execute()
throws PluginException
PluginException - if an error occurrs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||