public class SieveWriter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SieveWriter.Type |
Constructor and Description |
---|
SieveWriter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateSieveScript(SieveWriter.Type type,
ItemValue<Mailbox> mbox,
java.lang.String displayName,
ItemValue<Domain> domain,
MailFilter filter) |
java.util.Optional<java.lang.String> |
sieveFrom(ItemValue<Mailbox> mbox,
java.lang.String displayName) |
void |
write(ItemValue<Mailbox> mailboxItem,
java.lang.String displayName,
ItemValue<Domain> domain,
MailFilter filter) |
void |
write(java.lang.String domainUid,
MailFilter filter) |
public java.lang.String generateSieveScript(SieveWriter.Type type, ItemValue<Mailbox> mbox, java.lang.String displayName, ItemValue<Domain> domain, MailFilter filter) throws java.io.IOException, freemarker.template.TemplateException
java.io.IOException
freemarker.template.TemplateException
public java.util.Optional<java.lang.String> sieveFrom(ItemValue<Mailbox> mbox, java.lang.String displayName)
public void write(ItemValue<Mailbox> mailboxItem, java.lang.String displayName, ItemValue<Domain> domain, MailFilter filter)
public void write(java.lang.String domainUid, MailFilter filter)
domainUid
- filter
- ServerFault
Copyright © 2021. All Rights Reserved.