Class TrimPlugin
- java.lang.Object
-
- cern.accsoft.steering.aloha.plugin.api.AbstractAlohaPlugin
-
- cern.accsoft.steering.aloha.plugin.trim.TrimPlugin
-
- All Implemented Interfaces:
AlohaBeanFactoryAware,BeanAware,AlohaPlugin,DisplaySetFactory,ReaderProvider
public class TrimPlugin extends AbstractAlohaPlugin implements ReaderProvider, DisplaySetFactory
-
-
Field Summary
-
Fields inherited from class cern.accsoft.steering.aloha.plugin.api.AbstractAlohaPlugin
alohaBeanFactory
-
-
Constructor Summary
Constructors Constructor Description TrimPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisplaySetcreateDisplaySet(Measurement measurement)this method must return a new instance of aDisplaySetwhich correspond to the measurement.java.lang.StringgetName()java.util.List<Reader>getReaders()This has to return a list, which contains readers for certain measurements.voidinit()-
Methods inherited from class cern.accsoft.steering.aloha.plugin.api.AbstractAlohaPlugin
getAlohaBeanFactory, setAlohaBeanFactory
-
-
-
-
Method Detail
-
init
public void init()
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAlohaPlugin- Returns:
- the name of the plugin
-
getReaders
public java.util.List<Reader> getReaders()
Description copied from interface:ReaderProviderThis has to return a list, which contains readers for certain measurements.- Specified by:
getReadersin interfaceReaderProvider- Returns:
- a list of
Readers
-
createDisplaySet
public DisplaySet createDisplaySet(Measurement measurement)
Description copied from interface:DisplaySetFactorythis method must return a new instance of aDisplaySetwhich correspond to the measurement. (If the factory can handle this kind of measurement) If the Factory cannot create aDisplaySetfrom the given measurement, then this method has to return null.- Specified by:
createDisplaySetin interfaceDisplaySetFactory- Parameters:
measurement- the measurement for which to create a DisplaySet- Returns:
- the new displaysets if the measurement is handled, null otherwise.
-
-