Module it.tidalwave.ui.core
Package it.tidalwave.ui.util
Class UserActionFactory.UserActionParameters.UserActionParametersBuilder
java.lang.Object
it.tidalwave.ui.util.UserActionFactory.UserActionParameters.UserActionParametersBuilder
- Enclosing class:
UserActionFactory.UserActionParameters
public static class UserActionFactory.UserActionParameters.UserActionParametersBuilder
extends Object
Customisation of the Lombok-generated builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns the newUserAction.Returns the newUserActionas a singleton list.labelFromBundle(Class<?> clazz, String key, Object... params) Sets a localised label.
-
Constructor Details
-
UserActionParametersBuilder
public UserActionParametersBuilder()
-
-
Method Details
-
build
Returns the newUserAction.- Returns:
- the new
UserAction
-
buildAsList
Returns the newUserActionas a singleton list.- Returns:
- the new
UserActionas a singleton list
-
labelFromBundle
@Nonnull public UserActionFactory.UserActionParameters.UserActionParametersBuilder labelFromBundle(@Nonnull Class<?> clazz, @Nonnull String key, @Nonnull Object... params) Sets a localised label.- Parameters:
clazz- the owner of the bundlekey- the key of the resource inside the bundleparams- the parameters (used if the string in the bundle is aStringformat)
-