pl.psnc.dl.ege.component
Interface ConfigurableConverter

All Superinterfaces:
Converter

public interface ConfigurableConverter
extends Converter

Implemented by converters with additional parameters taken from plugin.xml configuration file.
Full list of plugin parameters can be obtained from ExtensionParam enum class.

Author:
mariuszs

Method Summary
 void configure(java.util.Map<java.lang.String,java.lang.String> params)
          Provided through EGE configuration mechanism parameters can be compared with ExtensionParam values.
 
Methods inherited from interface pl.psnc.dl.ege.component.Converter
convert, getPossibleConversions
 

Method Detail

configure

void configure(java.util.Map<java.lang.String,java.lang.String> params)
               throws EGEException

Provided through EGE configuration mechanism parameters can be compared with ExtensionParam values.
When expected parameters are missing or with errors one can implement throwing of a EGEException in case when component can`t be properly setup without them - EGE configuration manager will exclude extension when catching exception.

Parameters:
params - converters parameters
Throws:
EGEException


Copyright © 2010. All Rights Reserved.