Constructor
new Plugin(opts)
Creates a Node
Parameters:
Name | Type | Description |
---|---|---|
opts |
object | The configuration options. |
Methods
executePluginGet(className, params) → {Promise.<any>|Promise.<(*|never)>}
Execute plugin at get
Parameters:
Name | Type | Description |
---|---|---|
className |
The plugin className |
|
params |
Returns:
Return the properties of a folder
- Type
- Promise.<any> | Promise.<(*|never)>
executePluginGet(className, params) → {Promise.<any>|Promise.<(*|never)>}
Execute plugin at get
Parameters:
Name | Type | Description |
---|---|---|
className |
The plugin className |
|
params |
Returns:
Return the properties of a folder
- Type
- Promise.<any> | Promise.<(*|never)>
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setRestUrl(restUrl)
Set the rest url
Parameters:
Name | Type | Description |
---|---|---|
restUrl |
The rest url |
setToken(token)
Set the token in Node variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |
setToken(token)
Set the token in Node variables
Parameters:
Name | Type | Description |
---|---|---|
token |
The authorization token value |