本文整理了Java中org.eclipse.jgit.lib.Repository.fireEvent
方法的一些代码示例,展示了Repository.fireEvent
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.fireEvent
方法的具体详情如下:
包路径:org.eclipse.jgit.lib.Repository
类名称:Repository
方法名:fireEvent
[英]Fire an event to all registered listeners.
The source repository of the event is automatically set to this repository, before the event is delivered to any listeners.
[中]向所有注册的侦听器触发事件。
在将事件传递给任何侦听器之前,事件的源存储库将自动设置为此存储库。
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
getUpdated().keySet(), getRemoved());
if (!event.isEmpty()) {
repo.fireEvent(event);
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
} finally {
if (!dryRun && !files.isEmpty()) {
repo.fireEvent(new WorkingTreeModifiedEvent(null, files));
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
repo.fireEvent(new WorkingTreeModifiedEvent(null,
actuallyDeletedFiles));
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
repo.fireEvent(new WorkingTreeModifiedEvent(
actuallyModifiedPaths, null));
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
actuallyModifiedPaths = null;
if (!event.isEmpty()) {
repo.fireEvent(event);
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
} finally {
if (!deletedFiles.isEmpty()) {
repo.fireEvent(
new WorkingTreeModifiedEvent(null, deletedFiles));
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
unmergedPaths = resolveMerger.getUnmergedPaths();
if (!resolveMerger.getModifiedFiles().isEmpty()) {
repo.fireEvent(new WorkingTreeModifiedEvent(
resolveMerger.getModifiedFiles(), null));
代码示例来源:origin: org.eclipse.jgit/org.eclipse.jgit
List<String> modifiedByMerge = merger.getModifiedFiles();
if (!modifiedByMerge.isEmpty()) {
repo.fireEvent(
new WorkingTreeModifiedEvent(modifiedByMerge, null));
代码示例来源:origin: org.eclipse.egit/ui
RepositoryMapping mapping = RepositoryMapping.getMapping(path);
if (mapping != null)
mapping.getRepository().fireEvent(new IndexChangedEvent());
if (out != null)
try {
代码示例来源:origin: berlam/github-bucket
getUpdated().keySet(), getRemoved());
if (!event.isEmpty()) {
repo.fireEvent(event);
代码示例来源:origin: berlam/github-bucket
} finally {
if (!dryRun && !files.isEmpty()) {
repo.fireEvent(new WorkingTreeModifiedEvent(null, files));
代码示例来源:origin: berlam/github-bucket
repo.fireEvent(new WorkingTreeModifiedEvent(null,
actuallyDeletedFiles));
代码示例来源:origin: berlam/github-bucket
repo.fireEvent(new WorkingTreeModifiedEvent(
actuallyModifiedPaths, null));
代码示例来源:origin: berlam/github-bucket
actuallyModifiedPaths = null;
if (!event.isEmpty()) {
repo.fireEvent(event);
代码示例来源:origin: berlam/github-bucket
} finally {
if (!deletedFiles.isEmpty()) {
repo.fireEvent(
new WorkingTreeModifiedEvent(null, deletedFiles));
代码示例来源:origin: berlam/github-bucket
unmergedPaths = resolveMerger.getUnmergedPaths();
if (!resolveMerger.getModifiedFiles().isEmpty()) {
repo.fireEvent(new WorkingTreeModifiedEvent(
resolveMerger.getModifiedFiles(), null));
代码示例来源:origin: berlam/github-bucket
List<String> modifiedByMerge = merger.getModifiedFiles();
if (!modifiedByMerge.isEmpty()) {
repo.fireEvent(
new WorkingTreeModifiedEvent(modifiedByMerge, null));
内容来源于网络,如有侵权,请联系作者删除!