public final class NPluginManager extends NObject
| Modifier and Type | Class and Description |
|---|---|
static class |
NPluginManager.DisabledPluginCollection
Represents collection of disabled plugins.
|
static class |
NPluginManager.PluginCollection
Represents collection of plugins.
|
NObject.FromHandle, NObject.NObjectCallback, NObject.NObjectPropertyChangedCallbackchangedCallback, changingCallback, FLAG_REF_RET, propertyChangedCallback, stateChangedCallback| Modifier and Type | Method and Description |
|---|---|
void |
ensurePluginSearchPerformed()
Checks if initial plugin search was performed and if not calls Refresh.
|
NPluginManager.DisabledPluginCollection |
getDisabledPlugins()
Gets disabled plugins collection.
|
static NPluginManager[] |
getInstances()
Retrieves an array of NPluginManager instances.
|
String |
getInterfaceType()
Gets NPluginManager interface type name.
|
NVersionRange[] |
getInterfaceVersions()
Returns the range of supported interface versions by specified NPluginManager.
|
NPluginManager.PluginCollection |
getPlugins()
Gets collection of all plugins in NPluginManager.
|
String |
getPluginSearchPath()
Gets plugins and its dependencies search path.
|
boolean |
isAllowsUnplug()
Checks whether PlugAll and UnplugAll methods work.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
void |
plugAll()
Plugs all plugins into the system.
|
void |
refresh()
Refreshes plugins list.
|
void |
setPluginSearchPath(String value)
Sets plugins and its dependencies search path.
|
void |
unplugAll()
Unplugs all plugins.
|
addListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getOwner, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementscheck, dispose, finalizepublic static NType nativeTypeOf()
public static NPluginManager[] getInstances()
public void ensurePluginSearchPerformed()
public void refresh()
public void plugAll()
public void unplugAll()
public NVersionRange[] getInterfaceVersions()
public String getPluginSearchPath()
public void setPluginSearchPath(String value)
value - Plugin search path.public String getInterfaceType()
public boolean isAllowsUnplug()
public NPluginManager.PluginCollection getPlugins()
public NPluginManager.DisabledPluginCollection getDisabledPlugins()
Copyright © 2016 Neurotechnology. All rights reserved.