MCPcopy Create free account
hub / github.com/UiPath/uipathcli / getStringParameter

Method getStringParameter

plugin/digitizer/digitize_command.go:93–104  ·  view source on GitHub ↗
(name string, defaultValue string, parameters []plugin.ExecutionParameter)

Source from the content-addressed store, hash-verified

91}
92
93func (c DigitizeCommand) getStringParameter(name string, defaultValue string, parameters []plugin.ExecutionParameter) string {
94 result := defaultValue
95 for _, p := range parameters {
96 if p.Name == name {
97 if data, ok := p.Value.(string); ok {
98 result = data
99 break
100 }
101 }
102 }
103 return result
104}
105
106func (c DigitizeCommand) getFileParameter(parameters []plugin.ExecutionParameter) stream.Stream {
107 var result stream.Stream

Callers 2

startDigitizationMethod · 0.95
getProjectIdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected