Project

General

Profile

« Previous | Next » 

Revision 51556

javadoc and some java8 stuff

View differences:

CollectorPluginEnumerator.java
22 22
	/**
23 23
	 * Get all beans implementing the CollectorPlugin interface.
24 24
	 * 
25
	 * @return
25
	 * @return the set of eu.dnetlib.data.collector.plugin.CollectorPlugin(s)
26 26
	 */
27 27
	public Collection<CollectorPlugin> getAll() {
28 28
		return beanFactory.getBeansOfType(CollectorPlugin.class).values();
......
40 40
	/**
41 41
	 * Get given CollectorPlugin or throws exception.
42 42
	 * 
43
	 * @param protocol
44
	 * @return
45
	 * @throws CollectorServiceException
43
	 * @param protocol the given protocol
44
	 * @return a CollectorPlugin compatible with the given protocol
45
	 * @throws CollectorServiceException when no suitable plugin is found
46 46
	 */
47 47
	public CollectorPlugin get(final String protocol) throws CollectorServiceException {
48 48
		for (CollectorPlugin cp : getAll()) {

Also available in: Unified diff