Skip to content

Commit 03e69fd

Browse files
committed
UG: Add missing get_kw_types/tags to dynamic library summary
1 parent 5e28463 commit 03e69fd

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

doc/userguide/src/ExtendingRobotFramework/CreatingTestLibraries.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2555,22 +2555,24 @@ camelCase aliases work exactly the same way.
25552555
=========================== ========================= =======================================================
25562556
`get_keyword_names` `Return names`__ of the implemented keywords.
25572557
`run_keyword` `name, arguments, kwargs` `Execute the specified keyword`__ with given arguments. `kwargs` is optional.
2558-
`get_keyword_arguments` `name` Return keywords' `argument specifications`__. Optional method.
2558+
`get_keyword_arguments` `name` Return keywords' `argument specification`__. Optional method.
2559+
`get_keyword_types` `name` Return keywords' `argument type information`__. Optional method. New in RF 3.1.
2560+
`get_keyword_tags` `name` Return keywords' `tags`__. Optional method. New in RF 3.0.2.
25592561
`get_keyword_documentation` `name` Return keywords' and library's `documentation`__. Optional method.
25602562
=========================== ========================= =======================================================
25612563

25622564
__ `Getting dynamic keyword names`_
25632565
__ `Running dynamic keywords`_
25642566
__ `Getting keyword arguments`_
2567+
__ `Getting keyword argument types`_
2568+
__ `Getting keyword tags`_
25652569
__ `Getting keyword documentation`_
25662570

25672571
It is possible to write a formal interface specification in Java as
25682572
below. However, remember that libraries *do not need* to implement
25692573
any explicit interface, because Robot Framework directly checks with
25702574
reflection if the library has the required `get_keyword_names` and
2571-
`run_keyword` methods or their camelCase aliases. Additionally,
2572-
`get_keyword_arguments` and `get_keyword_documentation`
2573-
are completely optional.
2575+
`run_keyword` methods or their camelCase aliases.
25742576

25752577
.. sourcecode:: java
25762578

@@ -2584,6 +2586,10 @@ are completely optional.
25842586

25852587
List<String> getKeywordArguments(String name);
25862588

2589+
List<String> getKeywordTypes(String name);
2590+
2591+
List<String> getKeywordTags(String name);
2592+
25872593
String getKeywordDocumentation(String name);
25882594

25892595
}

0 commit comments

Comments
 (0)