Servoy 5.x Public API

com.servoy.j2db.plugins
Interface IPluginAccess

All Known Subinterfaces:
IClientPluginAccess, IServerAccess, IWebClientPluginAccess

public interface IPluginAccess

Default plugin api


Field Summary
static int PLATFORM_LINUX
          Constant returned by getPlatform
static int PLATFORM_MAC
          Constant returned by getPlatform
static int PLATFORM_OTHER
          Constant returned by getPlatform
static int PLATFORM_WINDOWS
          Constant returned by getPlatform
 
Method Summary
 ScheduledExecutorService getExecutor()
          Get the task executor.
 int getPlatform()
          Get the platform (Operating system).
 IPluginManager getPluginManager()
          Get the manager which handles the plugins
 int getReleaseNumber()
          Get the application release number.
 Properties getSettings()
          Get the user properties (when setting something prefix the key with 'plugin.pluginname.').
 String getVersion()
          Get the application version.
 

Field Detail

PLATFORM_LINUX

static final int PLATFORM_LINUX
Constant returned by getPlatform

See Also:
Constant Field Values

PLATFORM_MAC

static final int PLATFORM_MAC
Constant returned by getPlatform

See Also:
Constant Field Values

PLATFORM_OTHER

static final int PLATFORM_OTHER
Constant returned by getPlatform

See Also:
Constant Field Values

PLATFORM_WINDOWS

static final int PLATFORM_WINDOWS
Constant returned by getPlatform

See Also:
Constant Field Values
Method Detail

getExecutor

ScheduledExecutorService getExecutor()
Get the task executor.

Returns:
Executor

getPlatform

int getPlatform()
Get the platform (Operating system).

Returns:
the platform constant
Since:
5.0

getPluginManager

IPluginManager getPluginManager()
Get the manager which handles the plugins

Since:
3.5

getReleaseNumber

int getReleaseNumber()
Get the application release number.

Returns:
int the release number
Since:
3.5.1

getSettings

Properties getSettings()
Get the user properties (when setting something prefix the key with 'plugin.pluginname.').

Returns:
Properties

getVersion

String getVersion()
Get the application version.

Returns:
String the version

Copyright © 2010 Servoy B.V.