@AsynchronousPreferred public class FileEditedEvent extends BranchChangedEvent
Listeners that are interested in all repository changes should listen for
RepositoryRefsChangedEvents instead.
branchEMPTY_HASHsource| Constructor and Description |
|---|
FileEditedEvent(Object source,
Repository repository,
Branch branch,
RefChange refChange,
String path,
InputSupplier<InputStream> content,
String message) |
| Modifier and Type | Method and Description |
|---|---|
InputSupplier<InputStream> |
getContent() |
String |
getMessage() |
String |
getPath() |
getBranchgetRefChangesgetRepositorygetDate, getUsergetSource, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRepository, getUserpublic FileEditedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Branch branch, @Nonnull RefChange refChange, @Nonnull String path, @Nonnull InputSupplier<InputStream> content, @Nonnull String message)
source - the object on which the event initially occurredrepository - the repository the file is inbranch - the branch the file is onrefChange - the ref changepath - path to the filecontent - the new content of the filemessage - the commit message@Nonnull public InputSupplier<InputStream> getContent()
Copyright © 2024 Atlassian. All rights reserved.