本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
示例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);
}
示例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;
}
示例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;
}
示例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();
}
示例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();
}
示例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();
}
示例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);
}
示例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);
}
示例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);
}