Configure Interface Reference


Detailed Description

Marks a method as tesla configuration method. The method will be executed before the run-method is executed, but after all Configuration-fields and methods were set. The class must be a tesla component (that is, it must extend TeslaComponent, and the class must be annotated with Component. This annotation may be used more than once within a component; however, execution order is unspecified in this case.
Note that a -annotated method should return a boolean value indicating its success, and that it can throw any type of Exception in case of a failure.
A typical use case of this annotation is loading required processing resources - see de.uni_koeln.spinfo.tesla.component.stanfordparser.StanfordParser as an example.

Author:
sschwieb