org.gcube.dir.master.contexts
Class Plugin

java.lang.Object
  extended by org.gcube.dir.master.contexts.Plugin

public abstract class Plugin
extends java.lang.Object

Abstract implementation for service plugins.

Author:
Fabio Simeoni (University of Strathclyde)

Nested Class Summary
 class Plugin.TypeMapping
           
 
Constructor Summary
Plugin()
           
 
Method Summary
abstract  java.lang.String getName()
          Returns a human readable name for the plugin.
abstract  java.util.List<? extends Prototyped<?>> getProcessors()
          Returns the Prototyped processors that should be installed with the plugin.
 java.util.List<Plugin.TypeMapping> getTypeMappings()
          Returns the type mappings which should be installed with the plugin, if any (default is none).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plugin

public Plugin()
Method Detail

getName

public abstract java.lang.String getName()
Returns a human readable name for the plugin.

Returns:
the name.

getProcessors

public abstract java.util.List<? extends Prototyped<?>> getProcessors()
Returns the Prototyped processors that should be installed with the plugin.

Returns:
the processors

getTypeMappings

public java.util.List<Plugin.TypeMapping> getTypeMappings()
Returns the type mappings which should be installed with the plugin, if any (default is none).

Returns:
the type mappings.