VCSSL/VNANO PLUGIN INTERFACE SPECIFICATION
ConnectorPermissionName
Specification Document
(org.vcssl.connect.ConnectorPermissionName)
Abstract
ConnectorPermissionName is a class defining names of permission items.
Fields of this class are natural to be defined as elements of an enum,
however, they are defined as "public static final String" fields,
instead of enum elements.
This is to prevent unexpected behaviour when definition order of them are changed,
and plug-ins referencing them have not been re-compiled.
Please note that, it is not recommended to describe values of them directly (as String literals).
Refer fields of this class as possible as.
Status
The status of this class is "EXTENSION ONLY".
Existing fields/methods/constructors will not be deleted in principle,
but new fields/methods/constructors will be able to be added in future.
Also, only when an unavoidable problem has been discovered,
a field/method/constructor might be deleted, after a period of the "deprecated" status.
This class is currently supported by the scripting engine of Vnano.
You can use this interface for development of plug-ins of applications equipped with the Vnano engine.
License
This class is published under CC0, which is almost the same as the so-called "copyright-free" (domain).
List of Fields/Methods
- ALL
-
The name of the meta item representing all permission items.
- NONE
-
The name of the meta item representing no permission item.
- DEFAULT
-
The name of the meta item storing the default permission value.
- PROGRAM_EXIT
-
The permission to exit the currently executed program (script).
- PROGRAM_RESET
-
The permission to reset/restart the currently executed program (script).
- PROGRAM_CHANGE
-
The permission to change the currently executed program (script).
- SYSTEM_PROCESS
-
The permission to execute commands or other programs through the Operating System and so on.
- DIRECTORY_CREATE
-
The permission to create a new directory (folder).
- DIRECTORY_DELETE
-
The permission to delete a directory (folder).
- DIRECTORY_LIST
-
The permission to get the list of files in a directory (folder).
- FILE_CREATE
-
The permission to create a new file.
- FILE_DELETE
-
The permission to delete a file.
- FILE_WRITE
-
The permission to write contents of a file.
- FILE_READ
-
The permission to read contents of a file.
- FILE_OVERWRITE
-
The permission to overwrite contents of a file.
- FILE_INFORMATION_CHANGE
-
The permission to change information (last modified date, and so on) of a file.
Fields
Name |
ALL |
Value |
The name of the meta item representing all permission items. |
Type |
static final String |
Name |
NONE |
Value |
The name of the meta item representing no permission item. |
Type |
static final String |
Name |
DEFAULT |
Value |
The name of the meta item storing the default permission value.
For permission items of which values are not specified explicitly,
a default value (e.g. DENY)
will be set automatically.
You can change that default value by setting the value to this meta permission item.
For example, if you set the value ASK
to this permission item "DEFAULT",
the script engine will ask to the user when non-specified permissions are required.
|
Type |
static final String |
Name |
PROGRAM_EXIT |
Value |
The permission to exit the currently executed program (script). |
Type |
static final String |
Name |
PROGRAM_RESET |
Value |
The permission to reset/restart the currently executed program (script). |
Type |
static final String |
Name |
PROGRAM_CHANGE |
Value |
The permission to change the currently executed program (script). |
Type |
static final String |
Name |
SYSTEM_PROCESS |
Value |
The permission to execute commands or other programs through the Operating System and so on. |
Type |
static final String |
Name |
DIRECTORY_CREATE |
Value |
The permission to create a new directory (folder). |
Type |
static final String |
Name |
DIRECTORY_DELETE |
Value |
The permission to delete a directory (folder). |
Type |
static final String |
Name |
DIRECTORY_LIST |
Value |
The permission to get the list of files in a directory (folder). |
Type |
static final String |
Name |
FILE_CREATE |
Value |
The permission to create a new file. |
Type |
static final String |
Name |
FILE_DELETE |
Value |
The permission to delete a file. |
Type |
static final String |
Name |
FILE_WRITE |
Value |
The permission to write contents of a file. |
Type |
static final String |
Name |
FILE_READ |
Value |
The permission to read contents of a file. |
Type |
static final String |
Name |
FILE_OVERWRITE |
Value |
The permission to overwrite contents of a file. |
Type |
static final String |