Java representation of an Elektra plugin.
More...
|
static final int | STATUS_ERROR = -1 |
| Return value for plugin methods: An error occurred inside the plugin function.
|
|
static final int | STATUS_SUCCESS = 1 |
| Return value for plugin methods: Everything went fine.
|
|
static final int | STATUS_NO_UPDATE = 0 |
| Return value for plugin methods: Everything went fine and the function did not update the given key set / configuration.
|
|
Java representation of an Elektra plugin.
◆ close()
int org.libelektra.Plugin.close |
( |
Key |
parentKey | ) |
|
Calls the close function of the plugin.
- Parameters
-
- Returns
- the plugin's return value for close
Implemented in org.libelektra.NativePlugin.
◆ error()
int org.libelektra.Plugin.error |
( |
KeySet |
keySet, |
|
|
Key |
parentKey |
|
) |
| |
Calls the error function of the plugin.
- Parameters
-
keySet | a keyset |
parentKey | a key |
- Returns
- the plugin's return value for error
◆ get()
Calls the plugin's get function.
- Parameters
-
keySet | Key set to store the retrieved keys in |
parentKey | Parent key for retrieval |
- Exceptions
-
- Returns
- the plugin's return value for get
- See also
- STATUS_SUCCESS
-
STATUS_ERROR
◆ getConfig()
KeySet org.libelektra.Plugin.getConfig |
( |
| ) |
|
◆ getName()
String org.libelektra.Plugin.getName |
( |
| ) |
|
- Returns
- Name of the plugin
◆ open()
int org.libelektra.Plugin.open |
( |
KeySet |
config, |
|
|
Key |
errorKey |
|
) |
| |
◆ set()
Calls the set function of the plugin.
- Parameters
-
keySet | a keyset |
parentKey | a key |
- Exceptions
-
- Returns
- the plugin's return value for set
Implemented in org.libelektra.NativePlugin.
The documentation for this interface was generated from the following file: