|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.scape_project.watch.adaptor.c3po.C3POAdaptor
public class C3POAdaptor
A watch conforming adaptor for a collection profile source called c3po.
| Constructor Summary | |
|---|---|
C3POAdaptor()
|
|
| Method Summary | |
|---|---|
ResultInterface |
execute()
Fetches all information that this adaptor can obtain from the source. |
ResultInterface |
execute(Map<Entity,List<Property>> context)
Executes this plugin and returns a specific ResultInterface implementation. |
String |
getDescription()
Retrieves a short human readable description of this plugin. |
String |
getName()
Retrieves the name of this plugin. |
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. |
PluginType |
getPluginType()
Retrieves the type of the plugin. |
String |
getVersion()
Retrieves the version of this plugin. |
void |
init()
Initializes the plugin. |
void |
setParameterValues(Map<String,String> values)
Sets the config parameters. |
void |
shutdown()
This method is called exactly once before the system shuts down or when the component decides this plugin is not needed anymore. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public C3POAdaptor()
| Method Detail |
|---|
public void init()
throws PluginException
PluginInterface
init in interface PluginInterfacePluginException - if something goes wrong during the initialization process.
public void shutdown()
throws PluginException
PluginInterface
shutdown in interface PluginInterfacePluginException - if something goes wrong.public String getName()
PluginInterface
getName in interface PluginInterfacepublic String getVersion()
PluginInterface
getVersion in interface PluginInterfacepublic String getDescription()
PluginInterface
getDescription in interface PluginInterfacepublic PluginType getPluginType()
PluginInterface
getPluginType in interface PluginInterfacepublic List<ConfigParameter> getParameters()
AdaptorPluginInterfaceConfigParameter objects needed/supported by
this plugin. Note the not all config parameters have to be requried (
ConfigParameter.isRequired() )
getParameters in interface AdaptorPluginInterfacepublic Map<String,String> getParameterValues()
AdaptorPluginInterface
getParameterValues in interface AdaptorPluginInterface
public void setParameterValues(Map<String,String> values)
throws InvalidParameterException
AdaptorPluginInterface
setParameterValues in interface AdaptorPluginInterfacevalues - sets the values.
InvalidParameterException - if some required parameters are not provided, or other problems
occur.
public ResultInterface execute()
throws PluginException
AdaptorPluginInterface
execute in interface AdaptorPluginInterfacePluginException - if an error occurrs.
public ResultInterface execute(Map<Entity,List<Property>> context)
throws PluginException
AdaptorPluginInterfaceResultInterface implementation.
The execution has to be done according to the current parameter setting.
execute in interface AdaptorPluginInterfacecontext - the configuration map. Determines what should be fetched upon
execution.
PluginException - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||