Package org.jxmpp.strings.testframework
Class StringsTestframework.Configuration.Builder
- java.lang.Object
-
- org.jxmpp.strings.testframework.StringsTestframework.Configuration.Builder
-
- Enclosing class:
- StringsTestframework.Configuration
public static final class StringsTestframework.Configuration.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringsTestframework.Configuration.Builder
addXmppStringPreppers(java.util.Collection<? extends XmppStringPrepper> xmppStringPreppers)
Add the given collection of XMPP String Preppers to the list of used preppers.StringsTestframework.Configuration
build()
Build the configuration.StringsTestframework.Configuration.Builder
withAllKnownXmppStringpreppers()
Use all known XMPP String Preppers.StringsTestframework.Configuration.Builder
withXmppStringPrepper(java.lang.String xmppStringPrepperName)
Use the given XMPP String Prepper with the given name.
-
-
-
Method Detail
-
withXmppStringPrepper
public StringsTestframework.Configuration.Builder withXmppStringPrepper(java.lang.String xmppStringPrepperName)
Use the given XMPP String Prepper with the given name.- Parameters:
xmppStringPrepperName
- the name of the XMPP String Prepper.- Returns:
- an reference to this builder instance.
-
withAllKnownXmppStringpreppers
public StringsTestframework.Configuration.Builder withAllKnownXmppStringpreppers()
Use all known XMPP String Preppers.- Returns:
- an reference to this builder instance.
-
addXmppStringPreppers
public StringsTestframework.Configuration.Builder addXmppStringPreppers(java.util.Collection<? extends XmppStringPrepper> xmppStringPreppers)
Add the given collection of XMPP String Preppers to the list of used preppers.- Parameters:
xmppStringPreppers
- a collection of XMPP String Preppers.- Returns:
- an reference to this builder instance.
-
build
public StringsTestframework.Configuration build()
Build the configuration.- Returns:
- the build configuration.
-
-