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


Java EventPublisher类代码示例

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


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

示例1: PullRequestListener

import com.atlassian.event.api.EventPublisher; //导入依赖的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: DvcsAddUserListener

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
/**
 * The Constructor.
 * 
 * @param eventPublisher
 *            the event publisher
 * @param organizationService
 *            the organization service
 * @param communicatorProvider
 *            the communicator provider
 */
public DvcsAddUserListener(EventPublisher eventPublisher,
                           OrganizationService organizationService,
                           DvcsCommunicatorProvider communicatorProvider,
                           UserManager userManager,
                           GroupManager groupManager,
                           CrowdService crowd)
{
    this.eventPublisher = eventPublisher;
    this.organizationService = organizationService;
    this.communicatorProvider = communicatorProvider;
    this.userManager = userManager;
    this.groupManager = groupManager;
    this.crowd = crowd;
    
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:26,代码来源:DvcsAddUserListener.java

示例3: MetricListener

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
public MetricListener(
        EventPublisher eventPublisher,
        IssueManager issueManager,
        EventTypeManager eventTypeManager,
        JiraAuthenticationContext jiraAuthenticationContext,
        MetricCollector metricCollector) {
    this.eventPublisher = eventPublisher;
    this.issueManager = issueManager;
    this.eventTypeManager = eventTypeManager;
    this.jiraAuthenticationContext = jiraAuthenticationContext;
    this.metricCollector = metricCollector;
}
 
开发者ID:AndreyVMarkelov,项目名称:jira-prometheus-exporter,代码行数:13,代码来源:MetricListener.java

示例4: IssueEventListener

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
public IssueEventListener(final EventPublisher eventPublisher, final PluginSettingsFactory pluginSettingsFactory, final JiraServices jiraServices) {
    this.eventPublisher = eventPublisher;
    this.pluginSettingsFactory = pluginSettingsFactory;
    this.jiraServices = jiraServices;
    this.hubIssueTrackerPropertyHandler = new HubIssueTrackerPropertyHandler();
    this.executorService = createExecutorService();
}
 
开发者ID:blackducksoftware,项目名称:hub-jira,代码行数:8,代码来源:IssueEventListener.java

示例5: VertecEventListener

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
public VertecEventListener(EventPublisher eventPublisher, LeistungsManager leistungsManager, CustomFieldManager customFieldManager, WorklogManager worklogManager)
{
    this.eventPublisher = eventPublisher;
    this.leistungsManager = leistungsManager;
    this.customFieldManager = customFieldManager;
    this.worklogManager = worklogManager;
}
 
开发者ID:garaio,项目名称:jira2vertec-Gateway,代码行数:8,代码来源:VertecEventListener.java

示例6: DvcsTabPanel

import com.atlassian.event.api.EventPublisher; //导入依赖的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

示例7: DvcsTabPanelContextProvider

import com.atlassian.event.api.EventPublisher; //导入依赖的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

示例8: ConfigureDvcsOrganizations

import com.atlassian.event.api.EventPublisher; //导入依赖的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

示例9: SyncAuditLogDaoImpl

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
@Autowired
public SyncAuditLogDaoImpl(@ComponentImport ActiveObjects ao, @ComponentImport EventPublisher publisher)
{
    super();
    this.ao = checkNotNull(ao);
    this.eventPublisher = checkNotNull(publisher);
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:8,代码来源:SyncAuditLogDaoImpl.java

示例10: EventServiceImpl

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
@VisibleForTesting
EventServiceImpl(EventPublisher eventPublisher, SyncEventDao syncEventDao, EventLimiterFactory eventLimiterFactory, ThreadPoolExecutor executorService)
{
    this.eventPublisher = checkNotNull(eventPublisher);
    this.syncEventDao = syncEventDao;
    this.eventLimiterFactory = eventLimiterFactory;
    this.eventDispatcher = executorService;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:9,代码来源:EventServiceImpl.java

示例11: AddGitlabOrganization

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
public AddGitlabOrganization(ApplicationProperties applicationProperties,
                             EventPublisher eventPublisher,
                             OAuthStore oAuthStore,
                             OrganizationService organizationService)
{
    super(eventPublisher);
    this.organizationService = organizationService;
    this.oAuthStore = oAuthStore;
    this.applicationProperties = applicationProperties;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:11,代码来源:AddGitlabOrganization.java

示例12: RegenerateBitbucketOauthToken

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
public RegenerateBitbucketOauthToken(@ComponentImport EventPublisher eventPublisher,
        OrganizationService organizationService, RepositoryService repositoryService,
        @ComponentImport ApplicationProperties ap, HttpClientProvider httpClientProvider)
{
    super(eventPublisher, organizationService, repositoryService);
    this.ap = ap;
    this.httpClientProvider = httpClientProvider;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:9,代码来源:RegenerateBitbucketOauthToken.java

示例13: AddBitbucketOrganization

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
public AddBitbucketOrganization(@ComponentImport ApplicationProperties ap,
        @ComponentImport EventPublisher eventPublisher,
        OAuthStore oAuthStore,
        OrganizationService organizationService,
        HttpClientProvider httpClientProvider)
{
    super(eventPublisher);
    this.ap = ap;
    this.organizationService = organizationService;
    this.oAuthStore = oAuthStore;
    this.httpClientProvider = httpClientProvider;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:13,代码来源:AddBitbucketOrganization.java

示例14: AddGithubEnterpriseOrganization

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
public AddGithubEnterpriseOrganization(@ComponentImport ApplicationProperties applicationProperties,
        @ComponentImport EventPublisher eventPublisher,
        OAuthStore oAuthStore,
        OrganizationService organizationService)
{
    super(eventPublisher);
    this.organizationService = organizationService;
    this.oAuthStore = oAuthStore;
    this.applicationProperties = applicationProperties;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:11,代码来源:AddGithubEnterpriseOrganization.java

示例15: AddGithubOrganization

import com.atlassian.event.api.EventPublisher; //导入依赖的package包/类
@Autowired
public AddGithubOrganization(@ComponentImport ApplicationProperties applicationProperties,
        @ComponentImport EventPublisher eventPublisher,
        @ComponentImport FeatureManager featureManager,
        OAuthStore oAuthStore,
        OrganizationService organizationService,
        @Qualifier ("githubCommunicator") GithubCommunicator githubCommunicator)
{
    super(eventPublisher);
    this.organizationService = organizationService;
    this.oAuthStore = oAuthStore;
    this.applicationProperties = applicationProperties;
    this.featureManager = featureManager;
    this.githubCommunicator = githubCommunicator;
}
 
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:16,代码来源:AddGithubOrganization.java


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