hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
telsimui.applicationdefinitions.ExternalToolAction Class Reference

Class that handles preparation of parameters and starting external tool process It derives from :class ExternalAppAction which starts and manages external processes. More...

Inheritance diagram for telsimui.applicationdefinitions.ExternalToolAction:

Public Member Functions

def __init__ (self, command, param_type, params, text=None, icon=None, parent=None)
 
def on_consul_action_triggered (self, params)
 
def on_environmental_action_triggered (self, params)
 
def check (self)
 Returns True if the application is available for executing.
 

Detailed Description

Class that handles preparation of parameters and starting external tool process It derives from :class ExternalAppAction which starts and manages external processes.

Parameters
commandCommand required to start a process
param_typestr 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
paramastr or list with parameters
textstr name of a tool to be displayed in application menu
iconicon displayed next to tool name

Constructor & Destructor Documentation

◆ __init__()

def telsimui.applicationdefinitions.ExternalToolAction.__init__ (   self,
  command,
  param_type,
  params,
  text = None,
  icon = None,
  parent = None 
)

Member Function Documentation

◆ 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: