Package org.jxmpp.strings.testframework
Class StringsTestframework.Configuration.Builder
java.lang.Object
org.jxmpp.strings.testframework.StringsTestframework.Configuration.Builder
- Enclosing class:
StringsTestframework.Configuration
-
Method Summary
Modifier and TypeMethodDescriptionaddXmppStringPreppers
(Collection<? extends XmppStringPrepper> xmppStringPreppers) Add the given collection of XMPP String Preppers to the list of used preppers.build()
Build the configuration.Use all known XMPP String Preppers.withXmppStringPrepper
(String xmppStringPrepperName) Use the given XMPP String Prepper with the given name.
-
Method Details
-
withXmppStringPrepper
public StringsTestframework.Configuration.Builder withXmppStringPrepper(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
Use all known XMPP String Preppers.- Returns:
- an reference to this builder instance.
-
addXmppStringPreppers
public StringsTestframework.Configuration.Builder addXmppStringPreppers(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
Build the configuration.- Returns:
- the build configuration.
-