abstract class Plugin extends AnyRef
Trait for define plugin interface. To provide a plugin, put a Plugin class which extends this class into the package root.
- Alphabetic
- By Inheritance
- Plugin
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Plugin()
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
accountHooks(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[AccountHook]
Override to add account hooks.
-
val
accountHooks: Seq[AccountHook]
Override to add account hooks.
-
def
accountSettingMenus(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(Context) ⇒ Option[Link]]
Override to add account setting menus.
-
val
accountSettingMenus: Seq[(Context) ⇒ Option[Link]]
Override to add account setting menus.
-
def
anonymousAccessiblePaths(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[String]
Override to declare this plug-in provides anonymous accessible paths.
-
val
anonymousAccessiblePaths: Seq[String]
Override to declare this plug-in provides anonymous accessible paths.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assetsMappings(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(String, String)]
Override to add assets mappings.
-
val
assetsMappings: Seq[(String, String)]
Override to add assets mappings.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
controllers(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(String, ControllerBase)]
Override to declare this plug-in provides controllers.
-
val
controllers: Seq[(String, ControllerBase)]
Override to declare this plug-in provides controllers.
-
def
dashboardTabs(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(Context) ⇒ Option[Link]]
Override to add dashboard tabs.
-
val
dashboardTabs: Seq[(Context) ⇒ Option[Link]]
Override to add dashboard tabs.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromClassPath(path: String): Array[Byte]
Helper method to get a resource from classpath.
Helper method to get a resource from classpath.
- Attributes
- protected
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
globalMenus(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(Context) ⇒ Option[Link]]
Override to add global menus.
-
val
globalMenus: Seq[(Context) ⇒ Option[Link]]
Override to add global menus.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
images(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(String, Array[Byte])]
Override to declare this plug-in provides images.
-
val
images: Seq[(String, Array[Byte])]
Override to declare this plug-in provides images.
-
def
initialize(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Unit
This method is invoked in initialization of plugin system.
This method is invoked in initialization of plugin system. Register plugin functionality to PluginRegistry.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
issueHooks(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[IssueHook]
Override to add issue hooks.
-
val
issueHooks: Seq[IssueHook]
Override to add issue hooks.
-
def
issueSidebars(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(Issue, RepositoryInfo, Context) ⇒ Option[Html]]
Override to add issue sidebars.
-
val
issueSidebars: Seq[(Issue, RepositoryInfo, Context) ⇒ Option[Html]]
Override to add issue sidebars.
-
def
javaScripts(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(String, String)]
Override to declare this plug-in provides JavaScript.
-
val
javaScripts: Seq[(String, String)]
Override to declare this plug-in provides JavaScript.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
profileTabs(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(Account, Context) ⇒ Option[Link]]
Override to add profile tabs.
-
val
profileTabs: Seq[(Account, Context) ⇒ Option[Link]]
Override to add profile tabs.
-
def
pullRequestHooks(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[PullRequestHook]
Override to add pull request hooks.
-
val
pullRequestHooks: Seq[PullRequestHook]
Override to add pull request hooks.
-
def
receiveHooks(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[ReceiveHook]
Override to add receive hooks.
-
val
receiveHooks: Seq[ReceiveHook]
Override to add receive hooks.
-
def
renderers(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(String, Renderer)]
Override to declare this plug-in provides renderers.
-
val
renderers: Seq[(String, Renderer)]
Override to declare this plug-in provides renderers.
-
def
repositoryHeaders(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(RepositoryInfo, Context) ⇒ Option[Html]]
Override to add repository headers.
-
val
repositoryHeaders: Seq[(RepositoryInfo, Context) ⇒ Option[Html]]
Override to add repository headers.
-
def
repositoryHooks(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[RepositoryHook]
Override to add repository hooks.
-
val
repositoryHooks: Seq[RepositoryHook]
Override to add repository hooks.
-
def
repositoryMenus(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(RepositoryInfo, Context) ⇒ Option[Link]]
Override to add repository menus.
-
val
repositoryMenus: Seq[(RepositoryInfo, Context) ⇒ Option[Link]]
Override to add repository menus.
-
def
repositoryRoutings(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[GitRepositoryRouting]
Override to add git repository routings.
-
val
repositoryRoutings: Seq[GitRepositoryRouting]
Override to add git repository routings.
-
def
repositorySettingTabs(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(RepositoryInfo, Context) ⇒ Option[Link]]
Override to add repository setting tabs.
-
val
repositorySettingTabs: Seq[(RepositoryInfo, Context) ⇒ Option[Link]]
Override to add repository setting tabs.
-
def
shutdown(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Unit
This method is invoked when the plugin system is shutting down.
This method is invoked when the plugin system is shutting down. If the plugin has any resources, release them in this method.
-
def
sshCommandProviders(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[PartialFunction[String, Command]]
Override to add ssh command providers.
-
val
sshCommandProviders: Seq[PartialFunction[String, Command]]
Override to add ssh command providers.
-
def
suggestionProviders(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[SuggestionProvider]
Override to add suggestion provider.
-
val
suggestionProviders: Seq[SuggestionProvider]
Override to add suggestion provider.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
systemSettingMenus(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[(Context) ⇒ Option[Link]]
Override to add system setting menus.
-
val
systemSettingMenus: Seq[(Context) ⇒ Option[Link]]
Override to add system setting menus.
-
def
textDecorators(registry: PluginRegistry, context: ServletContext, settings: SystemSettings): Seq[TextDecorator]
Override to add text decorators.
-
val
textDecorators: Seq[TextDecorator]
Override to add text decorators.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )