Class BranchCreatedEvent

All Implemented Interfaces:
RepositoryRefsChangedEvent, Serializable

@AsynchronousPreferred public class BranchCreatedEvent extends BranchChangedEvent
An event that is raised when a branch is created using the UI or REST. Branches created by pushing will not trigger this event.

Listeners that are interested in all repository changes should listen for RepositoryRefsChangedEvents instead.

See Also:
  • Constructor Details

    • BranchCreatedEvent

      public BranchCreatedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Branch branch)