Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.script
Interface IScriptProvider

All Known Implementing Classes:
ScriptProvider

public interface IScriptProvider

Provider for scripts.


Field Summary
static java.lang.String TYPE_BASIC
          Type for Basic scripts.
static java.lang.String TYPE_BEAN_SHELL
          Type for Bean Shell scripts.
static java.lang.String TYPE_JAVA
          Type for Java scripts.
static java.lang.String TYPE_JAVA_SCRIPT
          Type for Java Script scripts.
static java.lang.String TYPE_PYTHON
          Type for Python scripts.
 
Method Summary
 IScript getScript(java.lang.String type, java.lang.String library, java.lang.String module, java.lang.String name)
          Returns the script with the submitted type, library, module, and name, or null if not found.
 IScript[] getScripts()
          Returns all scripts.
 IScript[] getScripts(java.lang.String library)
          Returns all scripts of the library with the submitted name.
 IScript[] getScripts(java.lang.String type, java.lang.String library)
          Returns all scripts of the submitted type and library with the submitted name.
 

Field Detail

TYPE_BEAN_SHELL

static final java.lang.String TYPE_BEAN_SHELL
Type for Bean Shell scripts.

See Also:
Constant Field Values

TYPE_BASIC

static final java.lang.String TYPE_BASIC
Type for Basic scripts.

See Also:
Constant Field Values

TYPE_JAVA

static final java.lang.String TYPE_JAVA
Type for Java scripts.

See Also:
Constant Field Values

TYPE_JAVA_SCRIPT

static final java.lang.String TYPE_JAVA_SCRIPT
Type for Java Script scripts.

See Also:
Constant Field Values

TYPE_PYTHON

static final java.lang.String TYPE_PYTHON
Type for Python scripts.

See Also:
Constant Field Values
Method Detail

getScripts

IScript[] getScripts(java.lang.String type,
                     java.lang.String library)
Returns all scripts of the submitted type and library with the submitted name.

Parameters:
type - type of the scripts
library - name of the library
Returns:
all scripts of the submitted type and library with the submitted name
See Also:
TYPE_BASIC, TYPE_BEAN_SHELL, TYPE_JAVA, TYPE_JAVA_SCRIPT, TYPE_PYTHON

getScript

IScript getScript(java.lang.String type,
                  java.lang.String library,
                  java.lang.String module,
                  java.lang.String name)
Returns the script with the submitted type, library, module, and name, or null if not found.

Parameters:
type - type of the scripts
library - name of the library
module - name of the module, or null if not TYPE_BASIC
name - name of the script
Returns:
the script with the submitted type, library, module, and name, or null
See Also:
TYPE_BASIC, TYPE_BEAN_SHELL, TYPE_JAVA, TYPE_JAVA_SCRIPT, TYPE_PYTHON

getScripts

IScript[] getScripts(java.lang.String library)
Returns all scripts of the library with the submitted name.

Parameters:
library - name of the library
Returns:
all scripts of the library with the submitted name

getScripts

IScript[] getScripts()
Returns all scripts.

Returns:
all scripts

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013