File

core/version/version.service.ts

Extends

ExtensionPointForPlugins

Index

Properties
Methods
Accessors

Constructor

constructor(rootInjector: Injector, pluginService: PluginsResolveService)
Parameters :
Name Type Optional
rootInjector Injector No
pluginService PluginsResolveService No

Methods

add
add(version: Version)
Parameters :
Name Type Optional
version Version No
Returns : void
cleanUpVersions
cleanUpVersions(versions: Version[])
Parameters :
Name Type Optional
versions Version[] No
Returns : CleanedVersion[]
remove
remove(version: Version)
Parameters :
Name Type Optional
version Version No
Returns : void
Protected setupItemsObservable
setupItemsObservable()
refresh
refresh()

Refresh the extension factories

Returns : void
Protected emitNewState
emitNewState()

Emits a new state.

Returns : void
map
map(mappedProperty: (undefined) => void)

Maps to a property and just returns that property.

Parameters :
Name Type Optional Description
mappedProperty function No

The property to map to.

Returns : Observable<any>

Properties

items$
Type : Observable<Version[]>
nonHiddenItems$
Type : Observable<Version[]>
factories
Type : ExtensionFactory<T>[]
Default value : []
Protected injectors
Type : Injector[]

All injectors to search for an extension.

Readonly refresh$
Type : Observable<void>
Readonly state$
Default value : new BehaviorSubject<Set<T>>(new Set<T>())

Accessors

state
getstate()

results matching ""

    No results matching ""