Class SidebarDarkFeatureManager
java.lang.Object
com.atlassian.greenhopper.sidebar.SidebarDarkFeatureManager
Talks to the jira-projects sidebar dark feature manager.
-
Constructor Summary
ConstructorsConstructorDescriptionSidebarDarkFeatureManager(SidebarDarkFeatureManagerAccessor sidebarDarkFeatureManagerAccessor, com.atlassian.jira.config.FeatureManager featureManager) -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck the jira-projectes dark feature manager to determine whether or not we should show the sidebarRapidViewfor which the sidebar is being rendered.
-
Constructor Details
-
SidebarDarkFeatureManager
@Autowired public SidebarDarkFeatureManager(SidebarDarkFeatureManagerAccessor sidebarDarkFeatureManagerAccessor, com.atlassian.jira.config.FeatureManager featureManager)
-
-
Method Details
-
shouldShowSidebarForCurrentUser
public boolean shouldShowSidebarForCurrentUser()Check the jira-projectes dark feature manager to determine whether or not we should show the sidebarRapidViewfor which the sidebar is being rendered.- Returns:
- true if the sidebar should be shown and false otherwise
-