Package com.atlassian.crowd.support
Class SupportInformationServiceImpl
java.lang.Object
com.atlassian.crowd.support.SupportInformationServiceImpl
- All Implemented Interfaces:
SupportInformationService
Produces a String containing information about some aspects of the Crowd configuration.
This class requires a
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.- Since:
- 2.6.2
-
Constructor Summary
ConstructorsConstructorDescriptionSupportInformationServiceImpl(DirectoryManager directoryManager, DefaultGroupMembershipService defaultGroupMembershipService) -
Method Summary
Modifier and TypeMethodDescriptiongetSupportInformation(User currentUser) Returns a human-readable string containing basic user, directory and application data valuable in support requests.getSupportInformationMap(User currentUser) Returns the same data asSupportInformationService.getSupportInformation(User)in map format.voidsetAdditionalSupportInformationServices(List<AdditionalSupportInformationService> additionalSupportInformationServices) voidsetApplicationManager(ApplicationManager applicationManager)
-
Constructor Details
-
SupportInformationServiceImpl
public SupportInformationServiceImpl(DirectoryManager directoryManager, DefaultGroupMembershipService defaultGroupMembershipService)
-
-
Method Details
-
getSupportInformation
Description copied from interface:SupportInformationServiceReturns a human-readable string containing basic user, directory and application data valuable in support requests.- Specified by:
getSupportInformationin interfaceSupportInformationService- Parameters:
currentUser- currently logged-in user- Returns:
- string formatted as "property=value\n"
-
getSupportInformationMap
Description copied from interface:SupportInformationServiceReturns the same data asSupportInformationService.getSupportInformation(User)in map format.- Specified by:
getSupportInformationMapin interfaceSupportInformationService- Parameters:
currentUser- currently logged-in user- Returns:
- flat map containing support information, with keys formatted as "category.subcategory(...).attribute"
-
setApplicationManager
-
setAdditionalSupportInformationServices
public void setAdditionalSupportInformationServices(@Nullable List<AdditionalSupportInformationService> additionalSupportInformationServices)
-