Package de.uplanet.lucy.server.mail
Class GroovyMailBuilder
- java.lang.Object
-
- de.uplanet.lucy.server.mail.GroovyMailBuilder
-
@Scriptable public final class GroovyMailBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description GroovyMailBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroovyMailBuilderWrapper
composeMail(groovy.lang.Closure<?> p_closure)
Compose a new mail using a closure.
-
-
-
Method Detail
-
composeMail
public GroovyMailBuilderWrapper composeMail(groovy.lang.Closure<?> p_closure)
Compose a new mail using a closure.The given closure's delegate is set to a
GroovyMailBuilderWrapper
.- Parameters:
p_closure
- The closure that creates the mail.- Returns:
- The newly composed mail.
-
-