Options
Menu

Class Workspace

class

Workspace

Hierarchy

Index

Constructor methods

constructor

  • constructor(jolokia: any, jolokiaStatus: any, jmxTreeLazyLoadRegistry: any, $location: any, $compile: ng.ICompileService, $templateCache: ng.ITemplateCacheService, localStorage: WindowLocalStorage, $rootScope: any, userDetails: any): Workspace
  • Parameters

    • jolokia: any
    • jolokiaStatus: any
    • jmxTreeLazyLoadRegistry: any
    • $location: any
    • $compile: ng.ICompileService
    • $templateCache: ng.ITemplateCacheService
    • localStorage: WindowLocalStorage
    • $rootScope: any
    • userDetails: any

    Returns Workspace

Properties

$compile

$compile: ng.ICompileService

$location

$location: any

$rootScope

$rootScope: any

$templateCache

$templateCache: ng.ITemplateCacheService

attributeColumnDefs

attributeColumnDefs: {}

jmxTreeLazyLoadRegistry

jmxTreeLazyLoadRegistry: any

jolokia

jolokia: any

jolokiaStatus

jolokiaStatus: any

keyToNodeMap

keyToNodeMap: {}

localStorage

localStorage: WindowLocalStorage

mapData

mapData: {}

mbeanServicesToDomain

mbeanServicesToDomain: {}

mbeanTypesToDomain

mbeanTypesToDomain: {}

operationCounter

operationCounter: number

pluginRegisterHandle

pluginRegisterHandle: any

pluginUpdateCounter

pluginUpdateCounter: any

selection

selection: NodeSelection

subLevelTabs

subLevelTabs: Array<any>

topLevelTabs

topLevelTabs: NavMenuItem[]

tree

tree: Folder

treeElement

treeElement: any

treePostProcessors

treePostProcessors: Array<any>

treeWatchRegisterHandle

treeWatchRegisterHandle: any

treeWatcherCounter

treeWatcherCounter: any

userDetails

userDetails: any

Methods

addTreePostProcessor

  • addTreePostProcessor(processor: Function, priority?: number0, name?: string"unnamed")
  • Adds a post processor of the tree to swizzle the tree metadata after loading such as correcting any typeName values or CSS styles by hand

    method

    addTreePostProcessor

    Parameters

    • processor: Function
    • priority?: number optional
      • lower number == higher priority. default: 0
    • name?: string optional
      • name of the processor (to allow for removal)

createChildWorkspace

  • createChildWorkspace(location: any): Workspace
  • Creates a shallow copy child workspace with its own selection and location

    method

    createChildWorkspace

    Parameters

    • location: any

    Returns Workspace

private enableLazyLoading

  • enableLazyLoading(folder: Folder)

expandSelection

  • expandSelection(flag: any)

findChildMBeanWithProperties

  • findChildMBeanWithProperties(folder: any, properties?: anynull, propertiesCount?: anynull): any

findMBeanWithProperties

  • findMBeanWithProperties(domainName: any, properties?: anynull, propertiesCount?: anynull): any

folderGetOrElse

  • folderGetOrElse(folder: any, value: any): any

getActiveTab

  • getActiveTab(): Object

getLocalStorage

  • getLocalStorage(key: string): any

getSelectedMBeanName

  • getSelectedMBeanName(): string

private getStrippedPathName

  • getStrippedPathName(): String

hasDomainAndProperties

  • hasDomainAndProperties(domainName: any, properties?: anynull, propertiesCount?: anynull): boolean
  • Parameters

    • domainName: any
    • properties?: any optional
    • propertiesCount?: any optional

    Returns boolean

hasFabricMBean

  • hasFabricMBean(): boolean

hasInvokeRights

  • hasInvokeRights(selection: NodeSelection, methods?: Array<string>): boolean

hasInvokeRightsForName

  • hasInvokeRightsForName(objectName: string, methods?: Array<string>): any

hasMBeans

  • hasMBeans(): boolean

hash

  • hash(): string

isCamelContext

  • isCamelContext(): boolean

isCamelFolder

  • isCamelFolder(): boolean

isEndpoint

  • isEndpoint(): boolean

isEndpointsFolder

  • isEndpointsFolder(): boolean

isFabricFolder

  • isFabricFolder(): boolean

isKarafFolder

  • isKarafFolder(): boolean

isLinkActive

  • isLinkActive(href: string): boolean
  • Returns true if the given link is active. The link can omit the leading # or / if necessary. The query parameters of the URL are ignored in the comparison.

    method

    isLinkActive

    Parameters

    • href: string

    Returns boolean

    true if the given link is active

isLinkPrefixActive

  • isLinkPrefixActive(href: string): boolean
  • Returns true if the given link is active. The link can omit the leading # or / if necessary. The query parameters of the URL are ignored in the comparison.

    method

    isLinkActive

    Parameters

    • href: string

    Returns boolean

    true if the given link is active

isOsgiCompendiumFolder

  • isOsgiCompendiumFolder(): boolean

isOsgiFolder

  • isOsgiFolder(): boolean

isRoute

  • isRoute(): boolean

isRoutesFolder

  • isRoutesFolder(): boolean

isTopTabActive

  • isTopTabActive(path: string): boolean
  • Returns true if the tab query parameter is active or the URL starts with the given path

    method

    isTopTabActive

    Parameters

    • path: string

    Returns boolean

jolokiaList

  • jolokiaList(cb: any, flags: any): any

linkContains

  • linkContains(words?: Array<String>): boolean

loadTree

  • loadTree()

private matches

  • matches(folder: any, properties: any, propertiesCount: any): boolean

private matchesProperties

  • matchesProperties(entries: any, properties: any): boolean

maybeMonitorPlugins

  • maybeMonitorPlugins()

maybeReloadTree

  • maybeReloadTree(response: any)

maybeUpdatePlugins

  • maybeUpdatePlugins(response: any)

moveIfViewInvalid

  • moveIfViewInvalid(): boolean

populateTree

  • populateTree(response: any)

redrawTree

  • redrawTree()

removeAndSelectParentNode

  • removeAndSelectParentNode()
  • In cases where we have just deleted something we typically want to change the selection to the parent node

    method

    removeAndSelectParentNode

removeTreePostProcessors

  • removeTreePostProcessors(name: string)

private resolveCanInvoke

  • resolveCanInvoke(op: any): any

selectParentNode

  • selectParentNode()

selectionConfigKey

  • selectionConfigKey(prefix?: string""): string
  • Returns a configuration key for a node which is usually of the form domain/typeName or for folders with no type, domain/name/folder

    method

    selectionConfigKey

    Parameters

    • prefix?: string optional

    Returns string

selectionHasDomain

  • selectionHasDomain(domainName: string): boolean

selectionHasDomainAndLastFolderName

  • selectionHasDomainAndLastFolderName(objectName: string, lastName: string): boolean

selectionHasDomainAndType

  • selectionHasDomainAndType(objectName: string, typeName: string): boolean

selectionViewConfigKey

  • selectionViewConfigKey(): string
  • Returns the view configuration key for the kind of selection for example based on the domain and the node type

    method

    selectionViewConfigKey

    Returns string

setLocalStorage

  • setLocalStorage(key: string, value: any)

treeContainsDomainAndProperties

  • treeContainsDomainAndProperties(domainName: any, properties?: anynull): boolean

unwindResponseWithRBACCache

  • unwindResponseWithRBACCache(res: any): any
  • Processes response from jolokia list - if it contains "domains" and "cache" properties

    Parameters

    • res: any

    Returns any

updateSelectionNode

  • updateSelectionNode(node: any)

validSelection

  • validSelection(uri: string): any
  • Returns true if the path is valid for the current selection

    method

    validSelection

    Parameters

    • uri: string

    Returns any

Generated using TypeDoc