当前位置: 首页>>代码示例>>Java>>正文


Java I18nResolver类代码示例

本文整理汇总了Java中com.atlassian.sal.api.message.I18nResolver的典型用法代码示例。如果您正苦于以下问题:Java I18nResolver类的具体用法?Java I18nResolver怎么用?Java I18nResolver使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


I18nResolver类属于com.atlassian.sal.api.message包,在下文中一共展示了I18nResolver类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: DvcsStreamsActivityProvider

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
public DvcsStreamsActivityProvider(@ComponentImport I18nResolver i18nResolver,
        @ComponentImport ApplicationProperties applicationProperties,
        @ComponentImport UserProfileAccessor userProfileAccessor,
        IssueLinker issueLinker,
        @ComponentImport TemplateRenderer templateRenderer,
        @ComponentImport PermissionManager permissionManager,
        @ComponentImport JiraAuthenticationContext jiraAuthenticationContext,
        @ComponentImport ProjectManager projectManager,
        ChangesetService changesetService,
        RepositoryService repositoryService,
        IssueAndProjectKeyManager issueAndProjectKeyManager)
{
    this.applicationProperties = applicationProperties;
    this.i18nResolver = i18nResolver;
    this.userProfileAccessor = userProfileAccessor;
    this.issueLinker = issueLinker;
    this.templateRenderer = checkNotNull(templateRenderer);
    this.permissionManager = permissionManager;
    this.jiraAuthenticationContext = jiraAuthenticationContext;
    this.projectManager = projectManager;
    this.changesetService = changesetService;
    this.repositoryService = repositoryService;
    this.issueAndProjectKeyManager = issueAndProjectKeyManager;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:25,代码来源:DvcsStreamsActivityProvider.java

示例2: JamInboundConfigurationServlet

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
public JamInboundConfigurationServlet(TemplateRenderer templateRenderer,
                                      I18nResolver i18nResolver,
                                      ApplicationLinkService applicationLinkService,
                                      AuthenticationConfigurationManager authenticationConfigurationManager)
{
    this.templateRenderer = templateRenderer;
    this.i18nResolver = i18nResolver;
    this.applicationLinkService = applicationLinkService;
    this.authenticationConfigurationManager = authenticationConfigurationManager;
}
 
开发者ID:SAP,项目名称:SAPJamWorkPatternJIRAIntegration,代码行数:11,代码来源:JamInboundConfigurationServlet.java

示例3: JamOutboundConfigurationServlet

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
public JamOutboundConfigurationServlet(TemplateRenderer templateRenderer,
                                       I18nResolver i18nResolver,
                                       ApplicationLinkService applicationLinkService,
                                       AuthenticationConfigurationManager authenticationConfigurationManager) {
    this.templateRenderer = templateRenderer;
    this.i18nResolver = i18nResolver;
    this.applicationLinkService = applicationLinkService;
    this.authenticationConfigurationManager = authenticationConfigurationManager;
}
 
开发者ID:SAP,项目名称:SAPJamWorkPatternJIRAIntegration,代码行数:10,代码来源:JamOutboundConfigurationServlet.java

示例4: SecSignIDAuthenticator

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 * @param templateRenderer the template renderer
 * @param authenticationContext the authentication context to check whether a user is logged.
 * @param pluginSettingsFactory the plugin factory for access to plugin settings
 * @param ao the active objects instance
 */
public SecSignIDAuthenticator(ApplicationProperties applicationProperties, TemplateRenderer templateRenderer, I18nResolver i18nResolver, JiraAuthenticationContext authenticationContext, PluginSettingsFactory pluginSettingsFactory, ActiveObjects ao, UserManager userManager) {
    this.applicationProperties = applicationProperties;
    this.templateRenderer = templateRenderer;
    this.i18nResolver = i18nResolver;
    this.authenticationContext = authenticationContext;
    this.pluginSettingsFactory = pluginSettingsFactory;
    this.ao = ao;
    this.userManager = userManager;
}
 
开发者ID:SecSign,项目名称:SecSign-ID-JIRA-Plugin,代码行数:17,代码来源:SecSignIDAuthenticator.java

示例5: SecSignIDCreateUserFilter

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 * @param templateRenderer
 * @param ao
 */
public SecSignIDCreateUserFilter(TemplateRenderer templateRenderer, ActiveObjects ao, I18nResolver i18nResolver)
{
    this.templateRenderer = templateRenderer;
    this.ao = ao;
    this.i18nResolver = i18nResolver;
}
 
开发者ID:SecSign,项目名称:SecSign-ID-JIRA-Plugin,代码行数:12,代码来源:SecSignIDCreateUserFilter.java

示例6: super

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 * @param userService
 * @param userUtil
 * @param userManager
 * @param webInterfaceManager
 * @param eventPublisher
 * @throws Exception 
 */
/*public SecSignIDAddUserAction(UserService userService, 
                              UserUtil userUtil, 
                              UserManager userManager, 
                              WebInterfaceManager webInterfaceManager, 
                              EventPublisher eventPublisher,
                              ActiveObjects ao, 
                              I18nResolver i18nResolver) {
    super(userService, userUtil, userManager, webInterfaceManager, eventPublisher);
    this.ao = ao;
    this.i18nResolver = i18nResolver;
}*/
/*public SecSignIDAddUserAction(UserService userService,
        UserManager userManager, WebInterfaceManager webInterfaceManager,
        EventPublisher eventPublisher,
        ApplicationRoleManager roleManager,
        
        ActiveObjects ao, 
        I18nResolver i18nResolver) {
    super(userService, userManager, webInterfaceManager, eventPublisher, ComponentAccessor.getComponent(CreateUserApplicationHelper.class), roleManager);
    
    this.userUtil = null;
    this.ao = ao;
    this.i18nResolver = i18nResolver;
}*/
public SecSignIDAddUserAction(ActiveObjects ao, I18nResolver i18nResolver) {
    super(ao, i18nResolver);
}
 
开发者ID:SecSign,项目名称:SecSign-ID-JIRA-Plugin,代码行数:37,代码来源:SecSignIDAddUserAction.java

示例7: super

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 * @param userService
 * @param userUtil
 * @param userManager
 * @param webInterfaceManager
 * @param eventPublisher
 */
/*public SecSignIDSignUpAction(ApplicationProperties applicationProperties, 
        UserService userService, 
        UserUtil userUtil, 
        ActiveObjects ao, 
        I18nResolver i18nResolver) {
        super(applicationProperties, userService, userUtil, new JiraCaptchaServiceImpl(), ExternalLinkUtilImpl.getInstance());
    this.ao = ao;
    this.i18nResolver = i18nResolver;
}*/
/*public SecSignIDSignUpAction(ApplicationProperties applicationProperties,
        UserService userService,
        ApplicationRoleManager roleManager, 
        UserUtil userUtil,

        ActiveObjects ao, 
        I18nResolver i18nResolver) {
    
    // calling this constructor will be compiled but at runtime a org.springframework.beans.factory.BeanCreationException exception.
    // nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.user.Signup...
    super(applicationProperties, userService, 
            ComponentAccessor.getComponent(JiraCaptchaService.class), 
            ComponentAccessor.getComponent(ExternalLinkUtil.class), 
            ComponentAccessor.getComponent(CreateUserApplicationHelper.class), 
            roleManager, userUtil, 
            ComponentAccessor.getComponent(PageBuilderService.class));

    
    this.ao = ao;
    this.i18nResolver = i18nResolver;
}*/

public SecSignIDSignUpAction(ActiveObjects ao,  I18nResolver i18nResolver) {
    super(ao, i18nResolver);
}
 
开发者ID:SecSign,项目名称:SecSign-ID-JIRA-Plugin,代码行数:43,代码来源:SecSignIDSignUpAction.java

示例8: SecSignIDCreateJiraUserAction

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 * @param ao
 * @param i18nResolver
 */
public SecSignIDCreateJiraUserAction(ActiveObjects ao, I18nResolver i18nResolver) {
    super();
    
    this.ao = ao;
    this.i18nResolver = i18nResolver;
}
 
开发者ID:SecSign,项目名称:SecSign-ID-JIRA-Plugin,代码行数:12,代码来源:SecSignIDCreateJiraUserAction.java

示例9: Admin

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 *
 * @param pluginSettingsFactory object to save data
 * @param userManager           manage users of JIRA
 * @param i18nResolver          translate
 */
public Admin(PluginSettingsFactory pluginSettingsFactory, UserManager userManager, I18nResolver i18nResolver) {
    this.modelo = new LatchModel(pluginSettingsFactory);
    this.request = ServletActionContext.getRequest();
    this.i18nResolver = i18nResolver;
    this.jiraAuthenticationContext = ComponentAccessor.getJiraAuthenticationContext();
    this.userManager = userManager;
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-jira,代码行数:15,代码来源:Admin.java

示例10: Unpair

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 * @param pluginSettingsFactory object to save data
 * @param i18nResolver translate
 */
public Unpair(PluginSettingsFactory pluginSettingsFactory, I18nResolver i18nResolver) {
	this.modelo = new LatchModel(pluginSettingsFactory);
	this.request = ServletActionContext.getRequest();
	this.i18nResolver = i18nResolver;
	this.jiraAuthenticationContext = ComponentAccessor.getJiraAuthenticationContext();
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-jira,代码行数:12,代码来源:Unpair.java

示例11: Index

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor.
 *
 * @param pluginSettingsFactory object to save data
 */

public Index(PluginSettingsFactory pluginSettingsFactory, I18nResolver i18nResolver) {
    this.request = ServletActionContext.getRequest();
    this.i18nResolver = i18nResolver;
    this.model = new LatchModel(pluginSettingsFactory);
    this.jiraAuthenticationContext = ComponentAccessor.getJiraAuthenticationContext();
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-jira,代码行数:13,代码来源:Index.java

示例12: Pair

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
/**
 * Constructor
 *
 * @param pluginSettingsFactory object to save data
 * @param i18nResolver          translate
 */
public Pair(PluginSettingsFactory pluginSettingsFactory, I18nResolver i18nResolver) {
    this.modelo = new LatchModel(pluginSettingsFactory);
    this.request = ServletActionContext.getRequest();
    this.i18nResolver = i18nResolver;
    this.jiraAuthenticationContext = ComponentAccessor.getJiraAuthenticationContext();
}
 
开发者ID:ElevenPaths,项目名称:latch-plugin-jira,代码行数:13,代码来源:Pair.java

示例13: SonarTestStatusMacro

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
public SonarTestStatusMacro(/* XhtmlContent xhtmlUtils, */
/* ApplicationLinkService applicationLinkService, */Renderer renderer,
		UserAccessor userAccessor,
		FormatSettingsManager formatSettingsManager,
		LocaleManager localeManager, I18nResolver i18n) {
	super(renderer, userAccessor, formatSettingsManager, localeManager,
			i18n);
}
 
开发者ID:baloise,项目名称:dashboard-plus,代码行数:9,代码来源:SonarTestStatusMacro.java

示例14: JenkinsJobStatusMacro

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
public JenkinsJobStatusMacro(/* XhtmlContent xhtmlUtils, */
/* ApplicationLinkService applicationLinkService, */Renderer renderer,
		UserAccessor userAccessor,
		FormatSettingsManager formatSettingsManager,
		LocaleManager localeManager, I18nResolver i18n) {
	super(renderer, userAccessor, formatSettingsManager, localeManager,
			i18n);
}
 
开发者ID:baloise,项目名称:dashboard-plus,代码行数:9,代码来源:JenkinsJobStatusMacro.java

示例15: StaticStatusLightMacro

import com.atlassian.sal.api.message.I18nResolver; //导入依赖的package包/类
public StaticStatusLightMacro(/* XhtmlContent xhtmlUtils, */
/* ApplicationLinkService applicationLinkService, */Renderer renderer,
		UserAccessor userAccessor,
		FormatSettingsManager formatSettingsManager,
		LocaleManager localeManager, I18nResolver i18n) {
	super(renderer, userAccessor, formatSettingsManager, localeManager,
			i18n);
}
 
开发者ID:baloise,项目名称:dashboard-plus,代码行数:9,代码来源:StaticStatusLightMacro.java


注:本文中的com.atlassian.sal.api.message.I18nResolver类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。