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