|
||||||||||
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 PluginInterface
PluginException
- if something goes wrong during the initialization process.public void shutdown() throws PluginException
PluginInterface
shutdown
in interface PluginInterface
PluginException
- if something goes wrong.public String getName()
PluginInterface
getName
in interface PluginInterface
public String getVersion()
PluginInterface
getVersion
in interface PluginInterface
public String getDescription()
PluginInterface
getDescription
in interface PluginInterface
public PluginType getPluginType()
PluginInterface
getPluginType
in interface PluginInterface
public List<ConfigParameter> getParameters()
AdaptorPluginInterface
ConfigParameter
objects needed/supported by
this plugin. Note the not all config parameters have to be requried (
ConfigParameter.isRequired()
)
getParameters
in interface AdaptorPluginInterface
public Map<String,String> getParameterValues()
AdaptorPluginInterface
getParameterValues
in interface AdaptorPluginInterface
public void setParameterValues(Map<String,String> values) throws InvalidParameterException
AdaptorPluginInterface
setParameterValues
in interface AdaptorPluginInterface
values
- sets the values.
InvalidParameterException
- if some required parameters are not provided, or other problems
occur.public ResultInterface execute() throws PluginException
AdaptorPluginInterface
execute
in interface AdaptorPluginInterface
PluginException
- if an error occurrs.public ResultInterface execute(Map<Entity,List<Property>> context) throws PluginException
AdaptorPluginInterface
ResultInterface
implementation.
The execution has to be done according to the current parameter setting.
execute
in interface AdaptorPluginInterface
context
- 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 |