public class SupportInformationServiceImpl extends Object implements SupportInformationService
DirectoryManager
, a DefaultGroupMembershipService
, and optionally, an
ApplicationManager
and a AdditionalSupportInformationService
.
The latter have been made optional because not all products have multiple applications or provide additional support
information.Constructor and Description |
---|
SupportInformationServiceImpl(DirectoryManager directoryManager,
DefaultGroupMembershipService defaultGroupMembershipService) |
Modifier and Type | Method and Description |
---|---|
String |
getSupportInformation(User currentUser)
Returns a human-readable string containing basic user, directory and application data valuable in support requests.
|
Map<String,String> |
getSupportInformationMap(User currentUser)
Returns the same data as
SupportInformationService.getSupportInformation(User) in map format. |
void |
setAdditionalSupportInformationServices(List<AdditionalSupportInformationService> additionalSupportInformationServices) |
void |
setApplicationManager(ApplicationManager applicationManager) |
public SupportInformationServiceImpl(DirectoryManager directoryManager, DefaultGroupMembershipService defaultGroupMembershipService)
public String getSupportInformation(@Nullable User currentUser)
SupportInformationService
getSupportInformation
in interface SupportInformationService
currentUser
- currently logged-in userpublic Map<String,String> getSupportInformationMap(@Nullable User currentUser)
SupportInformationService
SupportInformationService.getSupportInformation(User)
in map format.getSupportInformationMap
in interface SupportInformationService
currentUser
- currently logged-in userpublic void setApplicationManager(ApplicationManager applicationManager)
public void setAdditionalSupportInformationServices(@Nullable List<AdditionalSupportInformationService> additionalSupportInformationServices)
Copyright © 2021 Atlassian. All rights reserved.