Class ImmutableUser.Builder
java.lang.Object
com.atlassian.crowd.embedded.impl.ImmutableUser.Builder
- Enclosing class:
ImmutableUser
Used to aid in the construction of an Immutable User object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactive
(boolean active) directoryId
(long directoryId) displayName
(String displayName) emailAddress
(String emailAddress) toUser()
Returns an immutable User object with the properties set in this builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
toUser
Returns an immutable User object with the properties set in this builder.- Returns:
- an immutable User object with the properties set in this builder.
-
directoryId
-
name
-
displayName
-
emailAddress
-
active
-