class Console(ConsoleBase):
Console Manager class. This class provides the main console functionality for the CSE. It is either this plugin or the minimal console plugin that is used to run the main loop of the CSE.
| Method | about |
Print QR-code for keyboard commands. |
| Method | child |
Render the CSE's resource tree, beginning with a child resource. |
| Method | clear |
Clear the console screen. |
| Method | config |
Handle configuration updates. |
| Method | configuration |
Print the configuration. |
| Method | continues |
Continuous plot a graph from the instance data of a container. |
| Method | continuous |
Render a resource continuously. |
| Method | continuous |
Render a continous statistics view. |
| Method | continuous |
Render a continuous CSE resource tree view. |
| Method | delete |
Delete all requests. |
| Method | delete |
Delete a resource from the CSE. |
| Method | export |
Export instances of a container resource to a CSV file in the tmp directory. |
| Method | export |
Export resources to the tmp directory. The result is a shell script that can be used to re-build a previous resource tree. |
| Method | get |
Generate a rich table for the configuration settings. |
| Method | help |
Print help for keyboard commands. |
| Method | inspect |
Show a resource. |
| Method | inspect |
Show a resource and its children. |
| Method | katalog |
List a catalog of the loaded scripts. |
| Method | open |
Open the web UI in the default web browser. |
| Method | plot |
Plot a graph from the instance data of a container. |
| Method | print |
Print a separator Line to the log. |
| Method | registrations |
Render CSE registrations. |
| Method | resource |
Render the CSE's resource tree. |
| Method | restart |
Restart the Console service. |
| Method | run |
Run the console. |
| Method | run |
Run a script from one of the script directories. |
| Method | show |
Show all the requests. |
| Method | show |
Show the requests for a resource. |
| Method | start |
Initialize the console plugin. Set the console instance in the CSE. |
| Method | statistics |
Render various statistics & counts. |
| Method | toggle |
Toggle through the log levels. |
| Method | toggle |
Toggle screen logging. |
| Class Variable | __slots__ |
The slots for the Console to optimize memory usage. |
| Class Variable | cse |
Injected function to set the console instance in the CSE. |
| Class Variable | cse |
Injected function to shutdown the CSE. |
| Class Variable | dispatcher |
Injected IDispatcher instance. |
| Class Variable | management |
Injected ManagementSupport instance. |
| Class Variable | script |
Injected ScriptManager instance. |
| Class Variable | storage |
Injected Storage instance. |
| Instance Variable | interrupt |
Indication whether any continuous display function |
| Instance Variable | previos |
Resource ID of the previous resource + child resource inspection. This is used as the default value for the next resource + child resource inspection. |
| Instance Variable | previous |
Previous script arguments. This is used as the default value for the next script to run. |
| Instance Variable | previous |
Resource ID of the previous export. This is used as the default value for the next export. |
| Instance Variable | previous |
Resource ID of the previous graph display. This is used as the default value for the next graph display. |
| Instance Variable | previous |
Resource ID of the previous resource inspection. This is used as the default value for the next resource inspection. |
| Instance Variable | previous |
Resource ID of the previous instance export. This is used as the default value for the next instance export. |
| Instance Variable | previous |
Resource ID of the previous request display. This is used as the default value for the next request display. |
| Instance Variable | previous |
Name of the previous script run. This is used as the default value for the next script to run. |
| Instance Variable | previous |
Resource ID of the previous sub-tree display. This is used as the default value for the next sub-tree display. |
| Instance Variable | tree |
Current tree mode for the resource tree display. This is used to determine how the resource tree is displayed. |
| Method | _about |
Print a headline for a command. |
| Method | _assign |
Assign configuration settings. |
| Method | _plot |
Plot a single graph from the child-resources of a container-like resource. |
Inherited from ConsoleBase:
| Method | do |
Check if the console should start with the text UI. |
| Method | run |
Open the text UI. |
| Method | shutdown |
Shutdown the Console instance. |
| Method | shutdown |
Shutdown the CSE. Confirm shutdown before actually doing that. |
| Method | stop |
Stop the console loop. |
| Class Variable | text |
Injected TextUI instance. |
Render the CSE's resource tree, beginning with a child resource.
| Parameters | |
key:str | Input key. Ignored. |
Handle configuration updates.
| Parameters | |
eventEventData | The event data, containing the name of the updated configuration setting and its new value. |
Continuous plot a graph from the instance data of a container.
See Also
| Parameters | |
key:str | Input key. Ignored. |
Export instances of a container resource to a CSV file in the tmp directory.
| Parameters | |
key:str | Input key. Ignored. |
Export resources to the tmp directory. The result is a shell script that can be used to re-build a previous resource tree.
| Parameters | |
key:str | Input key. Ignored. |
Generate a rich table for the configuration settings.
| Parameters | |
style:Style | None | Optional style for the table. |
| Returns | |
Table | A rich Table object representing the configuration settings. |
Resource ID of the previous resource + child resource inspection. This is used as the default value for the next resource + child resource inspection.
Previous script arguments. This is used as the default value for the next script to run.
Resource ID of the previous export. This is used as the default value for the next export.
Resource ID of the previous graph display. This is used as the default value for the next graph display.
Resource ID of the previous resource inspection. This is used as the default value for the next resource inspection.
Resource ID of the previous instance export. This is used as the default value for the next instance export.
Resource ID of the previous request display. This is used as the default value for the next request display.
Name of the previous script run. This is used as the default value for the next script to run.
Resource ID of the previous sub-tree display. This is used as the default value for the next sub-tree display.
Current tree mode for the resource tree display. This is used to determine how the resource tree is displayed.