Class that handles preparation of parameters and starting external tool process It derives from :class ExternalAppAction which starts and manages external processes.
More...
Class that handles preparation of parameters and starting external tool process It derives from :class ExternalAppAction which starts and manages external processes.
- Parameters
-
command | Command required to start a process |
param_type | str that indicates type of parameters and a way they should be handled e.g. some parameters are passed as an environmental variable that should be resolved before passing to a process or require incoking ConsulClient to get service ip and port |
parama | str or list with parameters |
text | str name of a tool to be displayed in application menu |
icon | icon displayed next to tool name |
◆ __init__()
def telsimui.applicationdefinitions.ExternalToolAction.__init__ |
( |
|
self, |
|
|
|
command, |
|
|
|
param_type, |
|
|
|
params, |
|
|
|
text = None , |
|
|
|
icon = None , |
|
|
|
parent = None |
|
) |
| |
◆ check()
def telsimui.applicationdefinitions.ExternalToolAction.check |
( |
|
self | ) |
|
Returns True if the application is available for executing.
return type of : bool
◆ on_consul_action_triggered()
def telsimui.applicationdefinitions.ExternalToolAction.on_consul_action_triggered |
( |
|
self, |
|
|
|
params |
|
) |
| |
◆ on_environmental_action_triggered()
def telsimui.applicationdefinitions.ExternalToolAction.on_environmental_action_triggered |
( |
|
self, |
|
|
|
params |
|
) |
| |
The documentation for this class was generated from the following file: