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


Java ComponentImport类代码示例

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


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

示例1: PullRequestListener

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public PullRequestListener(@ComponentImport ApplicationPropertiesService applicationPropertiesService,
                           @ComponentImport EventPublisher eventPublisher,
                           @ComponentImport ExecutorService executorService,
                           HttpClientFactory httpClientFactory,
                           @ComponentImport NavBuilder navBuilder,
                           @ComponentImport ScmService scmService,
                           @ComponentImport CommitIndex commitIndex,
                           WebHookConfigurationDao webHookConfigurationDao)
{
    this.applicationPropertiesService = applicationPropertiesService;
    this.eventPublisher = eventPublisher;
    this.executorService = executorService;
    this.navBuilder = navBuilder;
    this.scmService = scmService;
    this.commitIndex = commitIndex;
    this.webHookConfigurationDao = webHookConfigurationDao;
    String bitbucketVersion = applicationPropertiesService.getBuildVersion();
    useCanMerge = new Version(bitbucketVersion).compareTo(new Version(4, 10)) < 0;
    httpClient = httpClientFactory.create(bitbucketVersion);
}
 
开发者ID:Eernie,项目名称:bitbucket-webhooks-plugin,代码行数:22,代码来源:PullRequestListener.java

示例2: DefaultSmartcommitsService

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public DefaultSmartcommitsService(@ComponentImport IssueManager issueManager,
        @Qualifier ("smartcommitsTransitionsHandler") TransitionHandler transitionHandler,
        @Qualifier ("smartcommitsCommentHandler") CommentHandler commentHandler,
        @Qualifier ("smartcommitsWorklogHandler") WorkLogHandler workLogHandler,
        @ComponentImport JiraAuthenticationContext jiraAuthenticationContext,
        @ComponentImport CrowdService crowdService)
{
    this.crowdService = checkNotNull(crowdService);

    NO_CACHE = new CacheControl();
    NO_CACHE.setNoCache(true);

    this.issueManager = checkNotNull(issueManager);
    this.transitionHandler = transitionHandler;
    this.commentHandler = commentHandler;
    this.workLogHandler = workLogHandler;
    this.jiraAuthenticationContext = checkNotNull(jiraAuthenticationContext);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:20,代码来源:DefaultSmartcommitsService.java

示例3: DvcsStreamsActivityProvider

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的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

示例4: DefaultSynchronizer

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public DefaultSynchronizer(@ComponentImport final CacheManager cacheManager,
        final ClusterLockServiceFactory clusterLockServiceFactory)
{
    this.clusterLockService = checkNotNull(clusterLockServiceFactory.getClusterLockService());
    this.progressMap = cacheManager.getCache(getClass().getName() + ".progressMap");
    // clear the cache as a temp fix for BBC-744
    if (LOG.isDebugEnabled())
    {
        final Collection<Integer> keys = progressMap.getKeys();
        if (!keys.isEmpty())
        {
            LOG.debug("clearing progressMap of size {} ", keys.size());
        }
    }
    progressMap.removeAll();
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:18,代码来源:DefaultSynchronizer.java

示例5: RepositoryConfigServlet

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public RepositoryConfigServlet(@ComponentImport SoyTemplateRenderer soyTemplateRenderer, @ComponentImport RepositoryService repositoryService, WebHookConfigurationDao webHookConfigurationDao)
{
	this.soyTemplateRenderer = soyTemplateRenderer;
	this.repositoryService = repositoryService;
	this.webHookConfigurationDao = webHookConfigurationDao;
}
 
开发者ID:Eernie,项目名称:bitbucket-webhooks-plugin,代码行数:8,代码来源:RepositoryConfigServlet.java

示例6: SASTScanTask

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public SASTScanTask(
		@ComponentImport I18nBeanFactory i18nBeanFactory, 
		@ComponentImport ProcessService processService, 
		@ComponentImport ArtifactManager artifactManager, 
		@ComponentImport CredentialsManager credentialsManager,  
		@ComponentImport CapabilityContext capabilityContext) {
	
	logger = new LogHelper(i18nBeanFactory.getI18nBean());
	scanner = new SASTScanner(logger, processService);
	
	this.artifactManager = artifactManager;
	this.credentialsManager = credentialsManager;
	this.capabilityContext = capabilityContext;
}
 
开发者ID:AppSecDev,项目名称:asoc-bamboo-plugin,代码行数:15,代码来源:SASTScanTask.java

示例7: SASTScanTaskConfigurator

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public SASTScanTaskConfigurator(
		@ComponentImport UIConfigSupport uiConfigSupport, 
		@ComponentImport CredentialsManager credentialsManager, 
		@ComponentImport I18nBeanFactory i18nBeanFactory) {
	
	this.uiConfigSupport = uiConfigSupport;
	this.credentialsManager = credentialsManager;
	this.i18nBean = i18nBeanFactory.getI18nBean();
}
 
开发者ID:AppSecDev,项目名称:asoc-bamboo-plugin,代码行数:10,代码来源:SASTScanTaskConfigurator.java

示例8: ChangesetRendererImpl

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public ChangesetRendererImpl(ChangesetService changesetService, RepositoryService repositoryService, IssueLinker issueLinker,
        @ComponentImport ApplicationProperties applicationProperties, @ComponentImport TemplateRenderer templateRenderer,
        IssueAndProjectKeyManager issueAndProjectKeyManager)
{
    this.changesetService = changesetService;
    this.repositoryService = repositoryService;
    this.issueLinker = issueLinker;
    this.applicationProperties = checkNotNull(applicationProperties);
    this.templateRenderer = checkNotNull(templateRenderer);
    this.issueAndProjectKeyManager = issueAndProjectKeyManager;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:ChangesetRendererImpl.java

示例9: DvcsTabPanel

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public DvcsTabPanel(PanelVisibilityManager panelVisibilityManager,
        @ComponentImport SoyTemplateRendererProvider soyTemplateRendererProvider, RepositoryService repositoryService,
        @ComponentImport WebResourceManager webResourceManager,
        ChangesetRenderer renderer, @ComponentImport EventPublisher eventPublisher)
{
    this.panelVisibilityManager = panelVisibilityManager;
    this.renderer = renderer;
    this.soyTemplateRenderer = soyTemplateRendererProvider.getRenderer();
    this.repositoryService = repositoryService;
    this.webResourceManager = webResourceManager;
    this.eventPublisher = eventPublisher;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:DvcsTabPanel.java

示例10: ChangesetIssueActionFactory

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
public ChangesetIssueActionFactory(RepositoryService repositoryService, IssueLinker issueLinker,
        @ComponentImport ApplicationProperties applicationProperties, ChangesetService changesetService,
        @ComponentImport TemplateRenderer templateRenderer)
{
    this.repositoryService = repositoryService;
    this.issueLinker = issueLinker;
    this.applicationProperties = checkNotNull(applicationProperties);
    this.changesetService = changesetService;
    this.templateRenderer = checkNotNull(templateRenderer);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:12,代码来源:ChangesetIssueActionFactory.java

示例11: DvcsTabPanelContextProvider

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public DvcsTabPanelContextProvider(ChangesetRenderer changesetRenderer, RepositoryService repositoryService,
        @ComponentImport EventPublisher eventPublisher)
{
    this.changesetRenderer = changesetRenderer;
    this.repositoryService = repositoryService;
    this.eventPublisher = checkNotNull(eventPublisher);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:8,代码来源:DvcsTabPanelContextProvider.java

示例12: ConfigureDvcsOrganizations

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public ConfigureDvcsOrganizations(@ComponentImport EventPublisher eventPublisher, OrganizationService organizationService,
        @ComponentImport FeatureManager featureManager, PluginFeatureDetector featuresDetector,
        @ComponentImport PluginSettingsFactory pluginSettingsFactory, OAuthStore oAuthStore, SyncDisabledHelper syncDisabledHelper)
{
    this.eventPublisher = eventPublisher;
    this.organizationService = organizationService;
    this.featureManager = featureManager;
    this.featuresDetector = featuresDetector;
    this.oAuthStore = oAuthStore;
    this.invalidOrganizationsManager = new InvalidOrganizationsManagerImpl(pluginSettingsFactory);
    this.syncDisabledHelper = syncDisabledHelper;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:ConfigureDvcsOrganizations.java

示例13: DvcsActivityTabPanel

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
public DvcsActivityTabPanel(@ComponentImport PermissionManager permissionManager,
        RepositoryService repositoryService, RepositoryPullRequestDao activityDao,
        @Qualifier ("aggregatedIssueActionFactory") IssueActionFactory issueActionFactory,
        @ComponentImport TemplateRenderer templateRenderer, IssueAndProjectKeyManager issueAndProjectKeyManager)
{
    this.permissionManager = checkNotNull(permissionManager);
    this.repositoryService = checkNotNull(repositoryService);
    this.activityDao = checkNotNull(activityDao);
    this.issueActionFactory = checkNotNull(issueActionFactory);
    this.templateRenderer = checkNotNull(templateRenderer);
    this.issueAndProjectKeyManager = checkNotNull(issueAndProjectKeyManager);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:DvcsActivityTabPanel.java

示例14: PanelVisibilityManager

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
@SuppressWarnings("SpringJavaAutowiringInspection")
public PanelVisibilityManager(@ComponentImport PermissionManager permissionManager,
        @ComponentImport PluginAccessor pluginAccessor,
        @ComponentImport FeatureManager featureManager)
{
    this.permissionManager = checkNotNull(permissionManager);
    this.pluginAccessor = checkNotNull(pluginAccessor);
    this.featureManager = checkNotNull(featureManager);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:11,代码来源:PanelVisibilityManager.java

示例15: IssueAndProjectKeyManagerImpl

import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport; //导入依赖的package包/类
@Autowired
@SuppressWarnings("SpringJavaAutowiringInspection")
public IssueAndProjectKeyManagerImpl(@ComponentImport final IssueManager issueManager,
        @ComponentImport final ChangeHistoryManager changeHistoryManager,
        @ComponentImport final ProjectManager projectManager,
        @ComponentImport final PermissionManager permissionManager,
        @ComponentImport final JiraAuthenticationContext authenticationContext)
{
    this.issueManager = checkNotNull(issueManager);
    this.changeHistoryManager = checkNotNull(changeHistoryManager);
    this.projectManager = checkNotNull(projectManager);
    this.permissionManager = checkNotNull(permissionManager);
    this.authenticationContext = checkNotNull(authenticationContext);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:15,代码来源:IssueAndProjectKeyManagerImpl.java


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