Skip to content

Commit

Permalink
#989 Added first cut of a plugin structure
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjstevo committed Nov 26, 2023
1 parent 70e79ad commit f04c077
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions vuu/src/test/scala/org/finos/vuu/plugin/TestPlugin.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package org.finos.vuu.plugin
import org.finos.toolbox.jmx.MetricsProvider
import org.finos.vuu.api.TableDef
import org.finos.vuu.core.table.DataTable
import org.finos.vuu.feature.{Feature, TableFactory}
import org.finos.vuu.feature.{Feature, FilterFactory, JoinTableFactory, SessionTableFactory, SortFactory, TableFactory, ViewPortFactory, ViewPortKeysCreator}
import org.finos.vuu.provider.JoinTableProvider

object TestPlugin{
def apply(): Plugin = {
Expand All @@ -12,5 +14,22 @@ object TestPlugin{
class TestPlugin extends Plugin with TableFactory {
override def hasFeature(feature: Feature): Boolean = ???
override def registerFeature(feature: Feature): Unit = ???
override def createTable(tableDef: TableDef): DataTable = ???

override def tableFactory(implicit metrics: MetricsProvider): TableFactory = ???

override def pluginType: PluginType = ???

override def joinTableFactory(implicit metrics: MetricsProvider): JoinTableFactory = ???

override def sessionTableFactory: SessionTableFactory = ???

override def viewPortKeysCreator: ViewPortKeysCreator = ???

override def viewPortFactory: ViewPortFactory = ???

override def filterFactory: FilterFactory = ???

override def sortFactory: SortFactory = ???

override def createTable(tableDef: TableDef, joinTableProvider: JoinTableProvider): DataTable = ???
}

0 comments on commit f04c077

Please sign in to comment.