KnownUser.Builder
@Deprecated @Component public class LegacyPersonBuilder extends Object
Constructor and Description |
---|
LegacyPersonBuilder(UserAccessor userAccessor,
com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider,
PermissionManager permissionManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Anonymous |
anonymous()
Deprecated.
|
Person |
forUsername(String username)
Deprecated.
Construct the person object for a particular username.
|
@Autowired public LegacyPersonBuilder(UserAccessor userAccessor, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider, PermissionManager permissionManager)
public Person forUsername(String username)
username
- the username of the person to representpublic Anonymous anonymous()
Copyright © 2003–2021 Atlassian. All rights reserved.