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
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.
-
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
- @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
-
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
-
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
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
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
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 in shutdown of plugin system.
This method is invoked in shutdown of plugin system. If the plugin has any resources, release them in this method.
-
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
- @throws( ... )