Java Code Examples for com.atlassian.sal.api.pluginsettings.PluginSettingsFactory#createGlobalSettings()

The following examples show how to use com.atlassian.sal.api.pluginsettings.PluginSettingsFactory#createGlobalSettings() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SessionService.java    From planning-poker-plugin with MIT License 5 votes vote down vote up
public SessionService(PluginSettingsFactory pluginSettingsFactory, IssueService issueService,
                      JiraAuthenticationContext authContext, UserManager userManager,
                      VoteService voteService) {
    this.pluginSettings = pluginSettingsFactory.createGlobalSettings();
    this.issueService = issueService;
    this.authContext = authContext;
    this.userManager = userManager;
    this.voteService = voteService;
}
 
Example 2
Source File: VoteService.java    From planning-poker-plugin with MIT License 5 votes vote down vote up
public VoteService(PluginSettingsFactory pluginSettingsFactory, IssueService issueService,
                      JiraAuthenticationContext authContext, UserManager userManager) {
    this.pluginSettings = pluginSettingsFactory.createGlobalSettings();
    this.issueService = issueService;
    this.authContext = authContext;
    this.userManager = userManager;
}
 
Example 3
Source File: UrlManager.java    From onlyoffice-confluence with GNU Affero General Public License v3.0 4 votes vote down vote up
@Inject
public UrlManager(PluginSettingsFactory pluginSettingsFactory, SettingsManager settingsManager) {
    this.pluginSettingsFactory = pluginSettingsFactory;
    this.settingsManager = settingsManager;
    pluginSettings = pluginSettingsFactory.createGlobalSettings();
}
 
Example 4
Source File: OnlyOfficeSaveFileServlet.java    From onlyoffice-confluence with GNU Affero General Public License v3.0 4 votes vote down vote up
@Inject
public OnlyOfficeSaveFileServlet(PluginSettingsFactory pluginSettingsFactory, JwtManager jwtManager) {
    this.pluginSettingsFactory = pluginSettingsFactory;
    settings = pluginSettingsFactory.createGlobalSettings();
    this.jwtManager = jwtManager;
}
 
Example 5
Source File: JwtManager.java    From onlyoffice-confluence with GNU Affero General Public License v3.0 4 votes vote down vote up
@Inject
public JwtManager(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettingsFactory = pluginSettingsFactory;
    settings = pluginSettingsFactory.createGlobalSettings();
}
 
Example 6
Source File: ConfigService.java    From planning-poker-plugin with MIT License 4 votes vote down vote up
public ConfigService(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createGlobalSettings();
}
 
Example 7
Source File: GroupService.java    From planning-poker-plugin with MIT License 4 votes vote down vote up
public GroupService(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createGlobalSettings();
    this.key = getKey() + ".groups";
}