com.atlassian.sal.api.pluginsettings.PluginSettingsFactory Java Examples

The following examples show how to use com.atlassian.sal.api.pluginsettings.PluginSettingsFactory. 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: 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 #2
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 #3
Source File: OnlyOfficeEditorServlet.java    From onlyoffice-confluence with GNU Affero General Public License v3.0 5 votes vote down vote up
@Inject
public OnlyOfficeEditorServlet(PluginSettingsFactory pluginSettingsFactory, LocaleManager localeManager,
        SettingsManager settingsManager, UrlManager urlManager, JwtManager jwtManager) {
    this.pluginSettingsFactory = pluginSettingsFactory;
    this.settingsManager = settingsManager;
    this.jwtManager = jwtManager;
    this.urlManager = urlManager;
    this.localeManager = localeManager;
}
 
Example #4
Source File: OnlyOfficeConfServlet.java    From onlyoffice-confluence with GNU Affero General Public License v3.0 5 votes vote down vote up
@Inject
public OnlyOfficeConfServlet(UserManager userManager, PluginSettingsFactory pluginSettingsFactory,
        JwtManager jwtManager) {
    this.userManager = userManager;
    this.pluginSettingsFactory = pluginSettingsFactory;
    this.jwtManager = jwtManager;
}
 
Example #5
Source File: ScrapingSettingsManagerImpl.java    From jira-prometheus-exporter with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ScrapingSettingsManagerImpl(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createSettingsForKey("PLUGIN_PROMETHEUS_FOR_JIRA");
}
 
Example #6
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";
}
 
Example #7
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 #8
Source File: UserConfigDao.java    From stash-token-auth with GNU General Public License v3.0 4 votes vote down vote up
public UserConfigDao(PluginSettingsFactory pluginSettingsFactory, TransactionTemplate transactionTemplate) {
  this.pluginSettingsFactory = pluginSettingsFactory;
  this.transactionTemplate = transactionTemplate;
}
 
Example #9
Source File: AdminConfigDao.java    From stash-token-auth with GNU General Public License v3.0 4 votes vote down vote up
public AdminConfigDao(PluginSettingsFactory pluginSettingsFactory, TransactionTemplate transactionTemplate) {
  this.pluginSettingsFactory = pluginSettingsFactory;
  this.transactionTemplate = transactionTemplate;
  setDefaults();
}
 
Example #10
Source File: ConfigDao.java    From pr-harmony with GNU General Public License v3.0 4 votes vote down vote up
public ConfigDao(PluginSettingsFactory pluginSettingsFactory, UserService userService) {
  this.pluginSettingsFactory = pluginSettingsFactory;
  this.userService = userService;
}
 
Example #11
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 #12
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 #13
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 #14
Source File: FieldDataManagerImpl.java    From jira-groovioli with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public FieldDataManagerImpl(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createSettingsForKey(PLUGIN_KEY);
}
 
Example #15
Source File: ScrapingSettingsManagerImpl.java    From prom-confluence-exporter with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ScrapingSettingsManagerImpl(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createSettingsForKey("PLUGIN_PROMETHEUS_FOR_CONFLUENCE");
}
 
Example #16
Source File: SecureTokenManagerImpl.java    From prom-confluence-exporter with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public SecureTokenManagerImpl(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createSettingsForKey("PLUGIN_PROMETHEUS_FOR_CONFLUENCE");
}
 
Example #17
Source File: ScrapingSettingsManagerImpl.java    From prom-bitbucket-exporter with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public ScrapingSettingsManagerImpl(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createSettingsForKey("PLUGIN_PROMETHEUS_FOR_BITBUCKET");
}
 
Example #18
Source File: SecureTokenManagerImpl.java    From prom-bitbucket-exporter with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public SecureTokenManagerImpl(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createSettingsForKey("PLUGIN_PROMETHEUS_FOR_CONFLUENCE");
}
 
Example #19
Source File: SecureTokenManagerImpl.java    From jira-prometheus-exporter with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public SecureTokenManagerImpl(PluginSettingsFactory pluginSettingsFactory) {
    this.pluginSettings = pluginSettingsFactory.createSettingsForKey("PLUGIN_PROMETHEUS_FOR_JIRA");
}
 
Example #20
Source File: TeamcityConnectionSettings.java    From TeamcityTriggerHook with GNU Lesser General Public License v3.0 2 votes vote down vote up
/**
 * Constructor
 *
 * @param factory - auto injected {@link PluginSettingsFactory}
 */
@Inject
public TeamcityConnectionSettings(final PluginSettingsFactory factory) {
    this.pluginSettings = factory.createSettingsForKey(SettingsService.KEY);
}