All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gitbucket.core.plugin.RepositoryHook.scala Maven / Gradle / Ivy

The newest version!
package gitbucket.core.plugin

import gitbucket.core.model.Profile._
import profile.api._

trait RepositoryHook {

  def created(owner: String, repository: String)(implicit session: Session): Unit = ()
  def deleted(owner: String, repository: String)(implicit session: Session): Unit = ()
  def renamed(owner: String, repository: String, newRepository: String)(implicit session: Session): Unit = ()
  def transferred(owner: String, newOwner: String, repository: String)(implicit session: Session): Unit = ()
  def forked(owner: String, newOwner: String, repository: String)(implicit session: Session): Unit = ()

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy