Options
Menu

Class OsgiGraphBuilder

Index

Constructor methods

constructor

  • constructor(osgiDataService: OsgiDataService, bundleFilter: String, packageFilter: String, showServices: boolean, showPackages: boolean, hideUnused: boolean): OsgiGraphBuilder

Properties

private PREFIX_BUNDLE

PREFIX_BUNDLE: string

private PREFIX_PKG

PREFIX_PKG: string

private PREFIX_SVC

PREFIX_SVC: string

private bundleFilter

bundleFilter: String

private bundles

bundles: any

private filteredBundles

filteredBundles: {}

private graphBuilder

graphBuilder: GraphBuilder

private hideUnused

hideUnused: boolean

private osgiDataService

osgiDataService: OsgiDataService

private packageFilter

packageFilter: String

private packages

packages: any

private services

services: any

private showPackages

showPackages: boolean

private showServices

showServices: boolean

Methods

addFilteredBundles

  • addFilteredBundles()

addFilteredPackages

  • addFilteredPackages()

addFilteredServices

  • addFilteredServices()

buildBundleNode

  • buildBundleNode(bundle: any): { id: string; name: any; type: string; used: boolean; navUrl: string; popup: { title: string; content: string; }; }
  • Parameters

    • bundle: any

    Returns { id: string; name: any; type: string; used: boolean; navUrl: string; popup: { title: string; content: string; }; }

buildGraph

  • buildGraph(): { nodes: any[]; links: any[]; linktypes: any; }

buildPackageNode

  • buildPackageNode(pkg: any): { id: string; name: any; type: string; used: boolean; popup: { title: string; content: string; }; }
  • Parameters

    • pkg: any

    Returns { id: string; name: any; type: string; used: boolean; popup: { title: string; content: string; }; }

buildSvcNode

  • buildSvcNode(service: any): { id: string; name: string; type: string; used: boolean; popup: { title: string; content: () => string; }; }
  • Parameters

    • service: any

    Returns { id: string; name: string; type: string; used: boolean; popup: { title: string; content: () => string; }; }

bundleNodeId

  • bundleNodeId(bundle: any): string

exportingBundle

  • exportingBundle(pkg: any): any

getBundles

  • getBundles(): any

getPackages

  • getPackages(): any

getServices

  • getServices(): any

pkgNodeId

  • pkgNodeId(pkg: any): string

serviceNodeId

  • serviceNodeId(service: any): string

Generated using TypeDoc