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