@AsynchronousPreferred public class FileEditedEvent extends BranchChangedEvent
Listeners that are interested in all repository changes should listen for
RepositoryRefsChangedEvent
s instead.
branch
EMPTY_HASH
source
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() |
getBranch
getRefChanges
getRepository
getDate, getUser
getSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRepository, getUser
public 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 © 2019 Atlassian. All rights reserved.